diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2015-06-30 13:48:56 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2015-06-30 13:48:56 -0700 |
commit | c8fbc41631da0a860f749479a610312814c0e88f (patch) | |
tree | 4c9b6759469530454b95b3fd2ac600e1042941da /test/files/neg/t8892.scala | |
parent | 6ca8847eb5891fa610136c2c041cbad1298fb89c (diff) | |
parent | 4a61719c1a3b57b47aa65409e83b87cff39145d3 (diff) | |
download | scala-c8fbc41631da0a860f749479a610312814c0e88f.tar.gz scala-c8fbc41631da0a860f749479a610312814c0e88f.tar.bz2 scala-c8fbc41631da0a860f749479a610312814c0e88f.zip |
Merge pull request #4569 from retronym/ticket/6985
SI-6895 Test cases to explain the limitations in tcpoly inference
Diffstat (limited to 'test/files/neg/t8892.scala')
-rw-r--r-- | test/files/neg/t8892.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/neg/t8892.scala b/test/files/neg/t8892.scala new file mode 100644 index 0000000000..f857e6f115 --- /dev/null +++ b/test/files/neg/t8892.scala @@ -0,0 +1,2 @@ +trait A { type B = String } +class C[B](x: B) extends A { def f: B = x } |