From fe38e54ca169014f70c455e77d72d3c935bb6ddc Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 29 Nov 2011 20:18:13 +0000 Subject: Fix for octal test. At the last minute I made -Xfuture leading-0 an error and failed to update the checkfile. --- test/files/neg/ambiguous-float-dots2.check | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/files') 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 -- cgit v1.2.3