From a5a18e80ec60d9bd7388d96e41be9c8b52d5bc0a Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 24 Mar 2011 01:10:26 +0000 Subject: Restoring my higher-kinded-Array signature chec... Restoring my higher-kinded-Array signature check which martin callously blew away while fixing all our other problems. Review by odersky. --- test/files/pos/hkarray.flags | 1 + test/files/pos/hkarray.scala | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 test/files/pos/hkarray.flags create mode 100644 test/files/pos/hkarray.scala (limited to 'test/files/pos') diff --git a/test/files/pos/hkarray.flags b/test/files/pos/hkarray.flags new file mode 100644 index 0000000000..e8fb65d50c --- /dev/null +++ b/test/files/pos/hkarray.flags @@ -0,0 +1 @@ +-Xfatal-warnings \ No newline at end of file diff --git a/test/files/pos/hkarray.scala b/test/files/pos/hkarray.scala new file mode 100644 index 0000000000..af1160300a --- /dev/null +++ b/test/files/pos/hkarray.scala @@ -0,0 +1,5 @@ +trait Foo[CC[_]] { } + +class Bip { + val x = new Foo[Array] { } +} \ No newline at end of file -- cgit v1.2.3