1
0

Removing module list for merging. (will need to create iterator in future)

This commit is contained in:
Jacob Chang 2016-12-12 16:25:31 -08:00
parent ec425a1d14
commit 531f3684ed

View File

@ -92,10 +92,7 @@ object LazyModule
protected[diplomacy] var stack = List[LazyModule]()
private var index = 0
var module_list = List[LazyModule]()
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
// If this require fails, probably some grandchild was missing a LazyModule
// ... or you applied LazyModule twice