diff options
Diffstat (limited to 'test/files/neg/scopes.check')
-rw-r--r-- | test/files/neg/scopes.check | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/test/files/neg/scopes.check b/test/files/neg/scopes.check deleted file mode 100644 index bb8e15058b..0000000000 --- a/test/files/neg/scopes.check +++ /dev/null @@ -1,30 +0,0 @@ -scopes.scala:1: error: x is already defined as value x -case class test0(x: int, x: float) - ^ -scopes.scala:5: error: t is already defined as type t - type t = float - ^ -scopes.scala:7: error: x is already defined as value x - val x: float = .0f; - ^ -scopes.scala:10: error: y is already defined as value y - val y: float = .0f - ^ -scopes.scala:13: error: x is already defined as value x - def f1(x: int, x: float) = x - ^ -scopes.scala:14: error: y is already defined as value y - def f2(x: int)(y: int, y: float) = x + y - ^ -scopes.scala:15: error: x is already defined as value x - val closure = (x: int, x: float) => x - ^ -scopes.scala:17: error: x is already defined as value x - case x::x => x - ^ -scopes.scala:1: error: type mismatch; - found : float - required: int -case class test0(x: int, x: float) - ^ -9 errors found |