diff options
Diffstat (limited to 'test/files/pos/bug245.scala')
-rw-r--r-- | test/files/pos/bug245.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/pos/bug245.scala b/test/files/pos/bug245.scala index 3e5dee820b..b33dd9914f 100644 --- a/test/files/pos/bug245.scala +++ b/test/files/pos/bug245.scala @@ -1,9 +1,9 @@ -class Value { - def coerce: Int = 0; -} +class Value {} object Test { + implicit def view(v: Value): int = 0; + def foo(i: Int): Int = 0; def fun0 : Value = null; |