diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-02-02 11:13:23 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-02-02 11:13:23 +1000 |
commit | 70f960cfd1d43ee1b873c22a471c8350a966b2a7 (patch) | |
tree | 99be5b41a9b55236ef2abb9e6978a90eb12184a8 /test/files/neg/t8291.scala | |
parent | 8b5f2b435b4b14089806406c8923f7e845d10ef6 (diff) | |
parent | 41766537c03e5ed953cc806c2a8629b115097996 (diff) | |
download | scala-70f960cfd1d43ee1b873c22a471c8350a966b2a7.tar.gz scala-70f960cfd1d43ee1b873c22a471c8350a966b2a7.tar.bz2 scala-70f960cfd1d43ee1b873c22a471c8350a966b2a7.zip |
Merge pull request #4272 from retronym/merge/2.11.x-to-2.12.x-20150129
Merge 2.11.x to 2.12.x
Diffstat (limited to 'test/files/neg/t8291.scala')
-rw-r--r-- | test/files/neg/t8291.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t8291.scala b/test/files/neg/t8291.scala new file mode 100644 index 0000000000..b344586a56 --- /dev/null +++ b/test/files/neg/t8291.scala @@ -0,0 +1,7 @@ +@scala.annotation.implicitNotFound("Could not find implicit for ${T} or ${U}") trait X[T, U] + +object Test { + type Z[U] = X[Int, U] + implicitly[X[Int, String]] + implicitly[Z[String]] +} |