From 80fc8b7818205634caa3996b18b2fd156e9aabd8 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 12 Mar 2014 10:54:51 -0700 Subject: SI-8265 Restore 2.10 variance behavior under -Xsource:2.10 Issue deprecation warning under -Xsource:2.10 so time travelers can have an authentic deprecation experience before finding that their unsound code no longer compiles in 2.11. The relevant ticket to the soundness issue is SI-6566. --- test/files/neg/t8265.scala | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/files/neg/t8265.scala (limited to 'test/files/neg/t8265.scala') diff --git a/test/files/neg/t8265.scala b/test/files/neg/t8265.scala new file mode 100644 index 0000000000..a215903ebc --- /dev/null +++ b/test/files/neg/t8265.scala @@ -0,0 +1 @@ +class Foo[+CC[X]] { type Coll = CC[_] } -- cgit v1.2.3