Commit fbf67f2c authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Add notes

parent c3de5e12
......@@ -54,11 +54,13 @@ class ClassA(val root: Configurable) extends Cfg
class ClassB(val root: Configurable) extends Cfg {
lazy val classA = new ClassA(this)
// Why this needs to be lazy?
}
class ClassC(val root: Configurable) extends Cfg {
def this() = this(null)
lazy val classB = new ClassB(this)
// Why this needs to be lazy?
}
object ConfigurableTest {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment