This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix for octal test.

At the last minute I made -Xfuture leading-0 an error and
failed to update the checkfile.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@26093 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
  • Loading branch information...
extempore
extempore committed Nov 29, 2011
1 parent 90f4ba3 commit 87b2aa91d7f844d588f6757bcddfd5d002605745
Showing with 4 additions and 1 deletion.
  1. +4 −1 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

0 comments on commit 87b2aa9

Please sign in to comment.