Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e404af + 2bb9197 commit 0baf063Copy full SHA for 0baf063
overviews/core/_posts/2014-04-08-language-pitfalls.md
@@ -62,8 +62,8 @@ Be aware of the order or use lazy vals or defs.
62
63
**Example 2 solution:**
64
65
- // no solution for safely overriding a concrete val in parent class.
66
- // Use a def in the parent class as in Example 3
+ // early definitions (SRS 5.1.6)
+ new { override val x = 6 } with Foo
67
68
**Example 3:**
69
0 commit comments