summaryrefslogtreecommitdiff
path: root/test/files/neg/delayed-init-ref.check
Commit message (Collapse)AuthorAgeFilesLines
* Merge 2.10.x into masterAdriaan Moors2013-05-021-4/+6
| | | | | | | | | | Conflicts: bincompat-forward.whitelist.conf src/compiler/scala/tools/nsc/matching/Patterns.scala src/compiler/scala/tools/nsc/transform/patmat/Logic.scala src/compiler/scala/tools/nsc/typechecker/Infer.scala src/scaladoc/scala/tools/nsc/doc/model/ModelFactory.scala test/files/neg/t5663-badwarneq.check
* Warn on selection of vals from DelayedInit subclasses.Jason Zaugg2013-04-231-0/+10
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.