summaryrefslogtreecommitdiff
path: root/test/files/run/t5905-features.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-5905 Clarify test caseSom Snytt2014-05-221-3/+5
| | | | | | | | | The language feature options are discovered reflectively, but it is nice to enforce that expected options are supplied. Short of that, the code string includes a rowdy postfix operator. It still does enforce that at least one option was discovered.
* Revert "SI-5905 Clarify test case"Jason Zaugg2014-05-091-5/+3
| | | | | | | | This reverts commit 78bd175afcc89878ca1c00cce69d0517909c6ff3. See discussion: https://github.com/scala/scala/pull/3597#commitcomment-6270375
* SI-5905 Clarify test caseSom Snytt2014-05-081-3/+5
| | | | | | | | | | | | The language feature options are discovered reflectively, but it is nice to enforce that expected options are supplied. Short of that, the code string includes a rowdy postfix operator. It still does enforce that at least one option was discovered. Delete -nowarn flags file. Let's see if that was to suppress a warning in the standard build.
* SI-5905 Restore -language:_Som Snytt2014-03-021-1/+2
| | | | | | | | | | | Underscore means all. -x:c,b,a,_ results in value c,b,a,a,b,c,d,... Currently, -Xprint does not present phases as a closed set of choices; there is ad hoc checking in Global. That would be a nice unification. (You don't know the list of choices until after global is constructed.)
* SI-5905 Sanity check -language optionsSom Snytt2014-02-281-0/+28
The option names are hardcoded, but checked by a test. There are no hooks to verify options after the compiler is constructed. Introduced a `MultiChoiceSetting` required for the setting creation framework.