From beb08c206b24e00167a11ea13d1cd998b8e3b067 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 19 Sep 2012 10:22:22 -0700 Subject: Error message improvement for SI-6336. Position error messages about structural type members at the problematic parameter or type. --- test/files/neg/t6336.check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/neg/t6336.check') diff --git a/test/files/neg/t6336.check b/test/files/neg/t6336.check index c3ddf81f21..f70a5f70ab 100644 --- a/test/files/neg/t6336.check +++ b/test/files/neg/t6336.check @@ -1,7 +1,7 @@ t6336.scala:3: error: Parameter type in structural refinement may not refer to a user-defined value class val a = new { def y[T](x: X[T]) = x.i } - ^ + ^ t6336.scala:4: error: Result type in structural refinement may not refer to a user-defined value class val b = new { def y[T](x: T): X[T] = new X(2) } - ^ + ^ two errors found -- cgit v1.2.3