summaryrefslogtreecommitdiff
path: root/test/files/pos/t2066-2.10-compat.flags
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2014-01-24 23:05:42 +0100
committerJason Zaugg <jzaugg@gmail.com>2014-01-24 23:05:42 +0100
commitf86c36f8e05bccc1bb7df07f50b565514fd7f100 (patch)
tree51e2a41281b26d9e763f71666df5446fac0e414f /test/files/pos/t2066-2.10-compat.flags
parent396742c899600cda14c24442cf063c78d1fc6ae8 (diff)
downloadscala-f86c36f8e05bccc1bb7df07f50b565514fd7f100.tar.gz
scala-f86c36f8e05bccc1bb7df07f50b565514fd7f100.tar.bz2
scala-f86c36f8e05bccc1bb7df07f50b565514fd7f100.zip
SI-2066 -Xsource:2.10: lenient treatment of variance in <:<, =:=
The soundness hole was exploited in Scalaz. They have fixed their codebase correctly for Scalac 7.1.x, but have less freedom to break source compatiblity in 7.0.x. After this commit, they could choose to compile that branch with -Xsource:2.10
Diffstat (limited to 'test/files/pos/t2066-2.10-compat.flags')
-rw-r--r--test/files/pos/t2066-2.10-compat.flags1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/pos/t2066-2.10-compat.flags b/test/files/pos/t2066-2.10-compat.flags
new file mode 100644
index 0000000000..94c8056747
--- /dev/null
+++ b/test/files/pos/t2066-2.10-compat.flags
@@ -0,0 +1 @@
+-Xsource:2.10