diff options
author | odersky <odersky@gmail.com> | 2015-11-09 09:52:23 +0100 |
---|---|---|
committer | odersky <odersky@gmail.com> | 2015-11-09 09:52:23 +0100 |
commit | 80c2fbd0ff8a99201e109b89a201693bc18bee34 (patch) | |
tree | d45ee77f28aafabae3524d73e232572b407fa46f /tests/new | |
parent | 9cbe9949a0b240f1cb8f8509441ef19f78c68c76 (diff) | |
parent | 34608562fa4f3697ddf4034fb802182a18c9f687 (diff) | |
download | dotty-80c2fbd0ff8a99201e109b89a201693bc18bee34.tar.gz dotty-80c2fbd0ff8a99201e109b89a201693bc18bee34.tar.bz2 dotty-80c2fbd0ff8a99201e109b89a201693bc18bee34.zip |
Merge pull request #902 from dotty-staging/fix-numeric-implicit-args
Fix numeric implicit args
Diffstat (limited to 'tests/new')
-rw-r--r-- | tests/new/implicits.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/new/implicits.scala b/tests/new/implicits.scala new file mode 100644 index 000000000..1a3e0b4da --- /dev/null +++ b/tests/new/implicits.scala @@ -0,0 +1,9 @@ +object Test { + + class X(i: Int) + + implicit def int2x(i: Int): X = new X(i) + + val x: X = Byte.MinValue + +} |