summaryrefslogtreecommitdiff
path: root/test/files/neg/unit-returns-value.check
Commit message (Collapse)AuthorAgeFilesLines
* Warn about more misplaced expressions.Paul Phillips2012-10-131-1/+7
| | | | | An identifier being used in statement position is not likely what was meant when it is a non-lazy getter.
* Made -Xfatal-warnings less immediately fatal.Paul Phillips2012-08-101-3/+5
| | | | | | | Instead of changing warnings to errors mid-stream, at the end of a run I check for condition "no errors, some warnings, and fatal warnings" and then generate an error at that point. This is necessary to test for some warnings which come from later stages.
* Offer warning when demonstrably non-side-effect...Paul Phillips2011-09-051-1/+4
| | | | | | | | Offer warning when demonstrably non-side-effecting expressions appear in statement position, which should be unintentional by definition. Threw in removal of six places with useless discarded expressions which the warning informed me about. No review.
* Added warning when someone tries to return a no...Paul Phillips2011-04-241-0/+4
Added warning when someone tries to return a non-Unit value from a Unit method, no review.