diff options
author | Paul Phillips <paulp@improving.org> | 2011-11-29 20:18:13 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-11-29 20:18:13 +0000 |
commit | fe38e54ca169014f70c455e77d72d3c935bb6ddc (patch) | |
tree | af1dc2fa120776983659cd07eccf3621588eddb7 /test/files/neg | |
parent | 91dbfb2a8f466cf30f7b02cbc6f3e89376d31c59 (diff) | |
download | scala-fe38e54ca169014f70c455e77d72d3c935bb6ddc.tar.gz scala-fe38e54ca169014f70c455e77d72d3c935bb6ddc.tar.bz2 scala-fe38e54ca169014f70c455e77d72d3c935bb6ddc.zip |
Fix for octal test.
At the last minute I made -Xfuture leading-0 an error and failed to
update the checkfile.
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/ambiguous-float-dots2.check | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/neg/ambiguous-float-dots2.check b/test/files/neg/ambiguous-float-dots2.check index 5270d888c9..8919d2c6a8 100644 --- a/test/files/neg/ambiguous-float-dots2.check +++ b/test/files/neg/ambiguous-float-dots2.check @@ -1,7 +1,10 @@ +ambiguous-float-dots2.scala:7: error: Non-zero numbers may not have a leading zero. + val y0 = 055 + ^ ambiguous-float-dots2.scala:3: error: identifier expected but '}' found. } ^ ambiguous-float-dots2.scala:12: error: ';' expected but integer literal found. 1. + 2 ^ -two errors found +three errors found |