diplomacy: bind resources to outer-most binding
This is probably the wrong thing to do, but it is expedient for now. We need a better way to do cross-coreplex visibility.
This commit is contained in:
		| @@ -269,7 +269,7 @@ object BindingScope | ||||
| { | ||||
|   protected[diplomacy] var active: Option[BindingScope] = None | ||||
|   protected[diplomacy] def find(m: Option[LazyModule] = LazyModule.scope): Option[BindingScope] = m.flatMap { | ||||
|     case s: BindingScope => Some(s) | ||||
|     case x: BindingScope => find(x.parent).orElse(Some(x)) | ||||
|     case x => find(x.parent) | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user