diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-07-29 09:41:15 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-07-29 09:41:15 -0700 |
commit | 9c5c46423546ffc4f331130648985b04626d38cb (patch) | |
tree | fbbf1013e05a8abf9f401580f0b7bc40dedd19e2 /test/files/neg/ambiguous-float-dots.check | |
parent | 35e53b243436fc31d134b3e4694649daac2cbaa8 (diff) | |
parent | 6b1654834fdb03ba73d7f9fad7b0735024e0d688 (diff) | |
download | scala-9c5c46423546ffc4f331130648985b04626d38cb.tar.gz scala-9c5c46423546ffc4f331130648985b04626d38cb.tar.bz2 scala-9c5c46423546ffc4f331130648985b04626d38cb.zip |
Merge pull request #2690 from soc/SI-7620
SI-7620 Remove floating-point-literals-without-digit-after-dot
Diffstat (limited to 'test/files/neg/ambiguous-float-dots.check')
-rw-r--r-- | test/files/neg/ambiguous-float-dots.check | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test/files/neg/ambiguous-float-dots.check b/test/files/neg/ambiguous-float-dots.check deleted file mode 100644 index cdd2d6fa2a..0000000000 --- a/test/files/neg/ambiguous-float-dots.check +++ /dev/null @@ -1,27 +0,0 @@ -ambiguous-float-dots.scala:2: warning: This lexical syntax is deprecated. From scala 2.11, a dot will only be considered part of a number if it is immediately followed by a digit. - val x0 = 5. - ^ -ambiguous-float-dots.scala:6: warning: This lexical syntax is deprecated. From scala 2.11, a dot will only be considered part of a number if it is immediately followed by a digit. - val x1 = 5.f - ^ -ambiguous-float-dots.scala:7: warning: Treating numbers with a leading zero as octal is deprecated. - val y0 = 055 - ^ -ambiguous-float-dots.scala:11: warning: This lexical syntax is deprecated. From scala 2.11, a dot will only be considered part of a number if it is immediately followed by a digit. - 1.+(2) - ^ -ambiguous-float-dots.scala:12: warning: This lexical syntax is deprecated. From scala 2.11, a dot will only be considered part of a number if it is immediately followed by a digit. - 1. + 2 - ^ -ambiguous-float-dots.scala:11: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses - 1.+(2) - ^ -ambiguous-float-dots.scala:12: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses - 1. + 2 - ^ -ambiguous-float-dots.scala:13: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses - 1 + 2 - ^ -error: No warnings can be incurred under -Xfatal-warnings. -8 warnings found -one error found |