config: when modifying Parameters, subordinate lookups use top
This commit is contained in:
1 parent
566cc9e60b
commit
9f1c668c4f
4 files changed
+22
-21
No files matched your search
@@ -6,7 +6,8 @@ class CDEMatchError() extends Exception {
|
||||
}
|
||||
|
||||
abstract class View {
|
||||
final def apply[T](pname: Field[T]): T = find(pname, this).asInstanceOf[T]
|
||||
final def apply[T](pname: Field[T]): T = apply(pname, this)
|
||||
final def apply[T](pname: Field[T], site: View): T = find(pname, site).asInstanceOf[T]
|
||||
|
||||
protected[config] def find(pname: Any, site: View): Any
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user