Skip to content

Commit 0c9d8c0

Browse files
committed
Add check file
1 parent 6b36e32 commit 0c9d8c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/neg/i12591.check

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-- Error: tests/neg/i12591/Inner.scala:12:31 ---------------------------------------------------------------------------
2+
12 |val badSummon = summon[TC[Bar]] // error here
3+
| ^
4+
|ambiguous implicit arguments: both outer.inner.Foo.ofFoo and outer.Foo.ofFoo match type outer.inner.Foo.TC[outer.Bar] of parameter x of method summon in object Predef

0 commit comments

Comments
 (0)