We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc3ff0b + a623f1b commit efa691cCopy full SHA for efa691c
tests/pos/3190.scala
@@ -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