From c4c651969c1c72a38c7bbd33c2cad2bc7a1f65cb Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 23 Feb 2009 15:09:27 +0000 Subject: Continuation of r17177 to also check type annot... Continuation of r17177 to also check type annotations; test case broadened accordingly. --- test/files/neg/bug935.scala | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/files/neg/bug935.scala') diff --git a/test/files/neg/bug935.scala b/test/files/neg/bug935.scala index 4497e0812e..20654a3f56 100644 --- a/test/files/neg/bug935.scala +++ b/test/files/neg/bug935.scala @@ -3,4 +3,10 @@ object Test3 { class B // val a = new E[B](new B) @E[B](new B) val b = "hi" +} + +object Test4 { + class E[T <: String](s: T) extends Annotation + class B + val b: String @E[B](new B) = "hi" } \ No newline at end of file -- cgit v1.2.3