diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-02-21 15:01:46 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-02-21 15:01:46 +0100 |
commit | d79fc2cae4e550bf0a3276a3961ed007bdd428e7 (patch) | |
tree | 8dd84da7c1648b7586f239ee3b66c5e515e9980c /test/files/pos | |
parent | e72f77be2e2c47e1f3905089e16c2ba4826de089 (diff) | |
parent | 4223bc2ddc497457c7dccd1b9b65e98244a9b4d1 (diff) | |
download | scala-d79fc2cae4e550bf0a3276a3961ed007bdd428e7.tar.gz scala-d79fc2cae4e550bf0a3276a3961ed007bdd428e7.tar.bz2 scala-d79fc2cae4e550bf0a3276a3961ed007bdd428e7.zip |
Merge pull request #3555 from adriaanm/rebase-3553
Small Predef cleanup
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t7788.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/t7788.scala b/test/files/pos/t7788.scala new file mode 100644 index 0000000000..81eada962b --- /dev/null +++ b/test/files/pos/t7788.scala @@ -0,0 +1,8 @@ +class Test { + // Predef used to define a method `conforms` to produce the implicit evidence below + // all this does is ensure we don't rename Predef.$conforms back to conforms when $ goes out of fashion + // or that there is some other way of generating the implicit value that witnesses T => U for T <: U + def conforms(x: Int, y: Int) = x < y + def foo[A](implicit ev: Int => A) = ??? + foo[Int] +}
\ No newline at end of file |