From b9785280a7138a2bb52060faf94807aa0d07dec1 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 24 Aug 2011 17:11:55 +0000 Subject: Renamed tests named bugXXX to tXXX, no review. --- test/files/neg/t2144.check | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/files/neg/t2144.check (limited to 'test/files/neg/t2144.check') diff --git a/test/files/neg/t2144.check b/test/files/neg/t2144.check new file mode 100644 index 0000000000..7239f4406e --- /dev/null +++ b/test/files/neg/t2144.check @@ -0,0 +1,4 @@ +t2144.scala:2: error: Parameter type in structural refinement may not refer to an abstract type defined outside that refinement + def foo[A](a: A) = new { def bar(x: A): A = x } + ^ +one error found -- cgit v1.2.3