Removing module list for merging. (will need to create iterator in future)
This commit is contained in:
parent
ec425a1d14
commit
531f3684ed
@ -92,10 +92,7 @@ object LazyModule
|
|||||||
protected[diplomacy] var stack = List[LazyModule]()
|
protected[diplomacy] var stack = List[LazyModule]()
|
||||||
private var index = 0
|
private var index = 0
|
||||||
|
|
||||||
var module_list = List[LazyModule]()
|
|
||||||
|
|
||||||
def apply[T <: LazyModule](bc: T)(implicit sourceInfo: SourceInfo): T = {
|
def apply[T <: LazyModule](bc: T)(implicit sourceInfo: SourceInfo): T = {
|
||||||
module_list = bc :: module_list
|
|
||||||
// Make sure the user put LazyModule around modules in the correct order
|
// Make sure the user put LazyModule around modules in the correct order
|
||||||
// If this require fails, probably some grandchild was missing a LazyModule
|
// If this require fails, probably some grandchild was missing a LazyModule
|
||||||
// ... or you applied LazyModule twice
|
// ... or you applied LazyModule twice
|
||||||
|
Loading…
Reference in New Issue
Block a user