Skip to content

Commit a623f1b

Browse files
Fix #3190: Add regression test
1 parent a7b67c4 commit a623f1b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/pos/3190.scala

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
object Test extends App {
2+
class Foo
3+
class Bar extends Foo
4+
5+
def overload(implicit foo: Foo): Unit = {}
6+
def overload(implicit bar: Bar): Unit = {}
7+
8+
overload(new Bar)
9+
}

0 commit comments

Comments
 (0)