summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2017-02-16 14:09:29 -0800
committerSeth Tisue <seth@tisue.net>2017-02-16 14:09:29 -0800
commit3e99598973ceaa1c4afe00b0d3c3a17c57da8fea (patch)
treee21072b5781ba8eaaac116b4cb51bb84cc9f948c /test/files/pos
parent2324405ca0087604f8c3f3ad78d7488cf8d7ea49 (diff)
parent36967321c7a8a99cab2f9f1c4c0c46f09d3d34a6 (diff)
downloadscala-3e99598973ceaa1c4afe00b0d3c3a17c57da8fea.tar.gz
scala-3e99598973ceaa1c4afe00b0d3c3a17c57da8fea.tar.bz2
scala-3e99598973ceaa1c4afe00b0d3c3a17c57da8fea.zip
Merge commit '36967321c7' into merge-2.11.x-to-2.12.x-20170214
Diffstat (limited to 'test/files/pos')
-rw-r--r--test/files/pos/t9331.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t9331.scala b/test/files/pos/t9331.scala
new file mode 100644
index 0000000000..00a667886f
--- /dev/null
+++ b/test/files/pos/t9331.scala
@@ -0,0 +1,6 @@
+import scala.language.higherKinds
+
+trait Proxy[+T]
+case class Stuff[+P[PP] <: Proxy[PP]]() {
+ // canEqual was incorrectly synthetized and started reporting a kind error.
+}