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:
parent
44f99cd9a5
commit
3b299397db
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user