summaryrefslogtreecommitdiff
path: root/test/files/neg/ambiguous-float-dots.check
blob: d1e71543f18d0f5b3fdf42f9c37329b70ebc2673 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
ambiguous-float-dots.scala:2: error: 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:3: error: 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:6: error: 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:7: error: 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
  ^
four errors found