diplomacy: LazyModule factory uses ValName (#1159)
* diplomacy: LazyModule factory uses ValName
This commit is contained in:
parent
09160d0cd5
commit
a31ba2ea2e
@ -141,7 +141,7 @@ object LazyModule
|
||||
protected[diplomacy] var scope: Option[LazyModule] = None
|
||||
private var index = 0
|
||||
|
||||
def apply[T <: LazyModule](bc: T)(implicit sourceInfo: SourceInfo): T = {
|
||||
def apply[T <: LazyModule](bc: T)(implicit valName: ValName, sourceInfo: SourceInfo): T = {
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user