diff options
Diffstat (limited to 'test/files/neg/ambiguous-float-dots2.check')
-rw-r--r-- | test/files/neg/ambiguous-float-dots2.check | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/test/files/neg/ambiguous-float-dots2.check b/test/files/neg/ambiguous-float-dots2.check index 613601a1b2..5270d888c9 100644 --- a/test/files/neg/ambiguous-float-dots2.check +++ b/test/files/neg/ambiguous-float-dots2.check @@ -1,13 +1,7 @@ -ambiguous-float-dots2.scala:2: error: malformed floating point number: to be part of a number, a dot must be immediately followed by a digit - val x0 = 5. - ^ -ambiguous-float-dots2.scala:6: error: malformed floating point number: to be part of a number, a dot must be immediately followed by a digit - 1.+(2) - ^ -ambiguous-float-dots2.scala:7: error: malformed floating point number: to be part of a number, a dot must be immediately followed by a digit +ambiguous-float-dots2.scala:3: error: identifier expected but '}' found. +} +^ +ambiguous-float-dots2.scala:12: error: ';' expected but integer literal found. 1. + 2 - ^ -ambiguous-float-dots2.scala:3: error: ';' expected but 'val' found. - val x1 = 5.f - ^ -four errors found + ^ +two errors found |