From 95c592e4b78ab5186d8a4daf8aa65501513c5c11 Mon Sep 17 00:00:00 2001 From: michelou Date: Wed, 13 Dec 2006 17:08:10 +0000 Subject: --- test/pending/neg/scopes.check | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'test/pending') diff --git a/test/pending/neg/scopes.check b/test/pending/neg/scopes.check index 2009a438ef..152c820317 100644 --- a/test/pending/neg/scopes.check +++ b/test/pending/neg/scopes.check @@ -1,19 +1,22 @@ scopes.scala:1 error: x is already defined as value x case class test0(x: int, x: float) ^ +scopes.scala:2 error: x is already defined as value x + +^ scopes.scala:5 error: x is already defined as value x val x: float = .0f ^ scopes.scala:8 error: y is already defined as value y val y: float = .0f ^ -scopes.scala:11 error: x is already defined in local scope +scopes.scala:11 error: x is already defined as value x def params(x: int, x: float) = x ^ -scopes.scala:11 error: x is already defined in local scope +scopes.scala:12 error: y is already defined as value y def curried(x: int)(y: int, y: float) = x + y ^ scopes.scala:13 error: x is already defined as value x (x: int, x: float) => x - ^ -6 errors found + ^ +7 errors found -- cgit v1.2.3