aboutsummaryrefslogtreecommitdiff
path: root/tests/pos
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2015-11-09 09:52:23 +0100
committerodersky <odersky@gmail.com>2015-11-09 09:52:23 +0100
commit80c2fbd0ff8a99201e109b89a201693bc18bee34 (patch)
treed45ee77f28aafabae3524d73e232572b407fa46f /tests/pos
parent9cbe9949a0b240f1cb8f8509441ef19f78c68c76 (diff)
parent34608562fa4f3697ddf4034fb802182a18c9f687 (diff)
downloaddotty-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/pos')
-rw-r--r--tests/pos/implicits1.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos/implicits1.scala b/tests/pos/implicits1.scala
index d8ca76de5..eda134663 100644
--- a/tests/pos/implicits1.scala
+++ b/tests/pos/implicits1.scala
@@ -36,6 +36,8 @@ object Implicits {
val d: Int = z.foo("abc")
+ val x: X = Byte.MinValue
+
//import X.BarDeco
println(z.bar)
@@ -50,4 +52,6 @@ object Implicits {
val s: Modifier = Some("rd").getOrElse("")
+ val xx: Int = (1: Byte)
+
}