summaryrefslogtreecommitdiff
path: root/test/files/neg/nonlocal-warning.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix for spurious warning.Paul Phillips2012-10-041-0/+11
| | | | | | Eliminates spurious "catch block may intercept non-local return" seen in recent builds of master. Unified some catch logic in TreeInfo, and removed some which never worked.
* Warn about catching non-local returns.Paul Phillips2012-08-101-0/+7
Almost every time someone is shooting themself in the foot by catching a non-local return, it is apparent from the structure of the AST that they are doing so. Warn them.