summaryrefslogtreecommitdiff
path: root/test/files/neg/delayed-init-ref.scala
Commit message (Collapse)AuthorAgeFilesLines
* Warn on selection of vals from DelayedInit subclasses.Jason Zaugg2013-04-231-0/+42
Which are likely to yield null, if the program didn't start. This is a common source of confusion for people new to the language, as was seen during the Coursera course. The test case shows that the usage pattern within Specs2 won't generate these warnings.