Skip to content
Snippets Groups Projects
Commit fbf67f2c authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Add notes

parent c3de5e12
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment