summaryrefslogtreecommitdiff
path: root/test/files/run/literals.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-9015 Reject 0x and minor parser cleanupSom Snytt2014-12-051-57/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only print error results. Show deprecated forms. Test for rejected literals and clean up parser There was no negative test for what constitutes a legal literal. The ultimate goal is for the test to report all errors in one compilation. This commit follows up the removal of "1." syntax to simplify number parsing. It removes previous paulp code to contain the erstwhile complexity. Leading zero is not immediately put to the buffer. Instead, the empty buffer is handled on evaluation. In particular, an empty buffer due to `0x` is a syntax error. The message for obsolete octal syntax is nuanced and deferred until evaluation by the parser, which is slightly simpler to reason about. Improve comment on usage of base The slice-and-dicey usage of base deserves a better comment. The difference is that `intVal` sees an empty char buffer for input `"0"`.
* SI-8185 Correct grammar for single-warning compilation runFrançois Garillot2014-05-141-1/+1
|
* SI-7618 Remove octal number literalsSimon Ochsenreither2013-12-091-13/+4
| | | | | | This also fixes a spurious detection of octal literals in floating point literals: Literals like 01.23 are neither deprecated nor planned for removal.
* SI-7292 Fixes test failures by updating *.check filesSimon Ochsenreither2013-06-211-1/+1
| | | | | Looks like partest's confusion about / vs. \ was fixed between the original Jenkins run of the fix for SI-7292 and its merge.
* SI-7003 Partest redirects stderr to log fileSom Snytt2013-05-251-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some scalac output is on stderr, and it's useful to see that in the log file, especially for debugging. Adds a line filter for logs, specified as "filter: pattern" in the test source. Backslashes are made forward only when detected as paths. Test alignments: Deprecations which do not pertain to the system under test are corrected in the obvious way. When testing deprecated API, suppress warnings by deprecating the Test object. Check files are updated with useful true warnings, instead of running under -nowarn. Language feature imports as required, instead of running under -language. Language feature not required, such as casual use of postfix. Heed useful warning. Ignore broken warnings. (Rarely, -nowarn.) Inliner warnings pop up under -optimise only, so for now, just filter them out where they occur. Debug output from the test required an update.
* int -> Int, etc..michelou2008-06-101-6/+6
|
* added contrib #176 to test file run/literals.scalamichelou2006-08-141-0/+2
|
* - changed the unicode method identifier to be a...Lex Spoon2006-06-161-0/+1
| | | | | | | - changed the unicode method identifier to be a valid; Java identifiers must start with a letter - re-enabled the test's invocation of this method
* 'test-nsc' has been moved to 'test'.Gilles Dubochet2005-12-161-0/+65
|
* Removed old scala tests from new Scala core mod...Gilles Dubochet2005-12-161-66/+0
| | | | | Removed old scala tests from new Scala core module.
* - added tests for octal charsmichelou2005-11-281-0/+2
|
* seq have to be escapedburaq2004-05-111-0/+1
|
* added test case for fixed treatment of SUburaq2004-04-071-0/+2
|
* *** empty log message ***michelou2004-03-011-0/+45
|
* - added test cases for Scala literals such as J...michelou2004-03-011-0/+16
- added test cases for Scala literals such as Java-like floating-point literals (see bug #296).