Skip to content

Commit 3c08cbb

Browse files
committed
Update check with wildcard
1 parent 1a5036a commit 3c08cbb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/neg/i13558.check

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
| testcode.ExtensionA.id(a) failed with
88
|
99
| Reference to id is ambiguous,
10-
| it is both imported by import testcode.ExtensionB._
11-
| and imported subsequently by import testcode.ExtensionA._
10+
| it is both imported by import testcode.ExtensionB.*
11+
| and imported subsequently by import testcode.ExtensionA.*
1212
-- [E008] Not Found Error: tests/neg/i13558.scala:29:14 ----------------------------------------------------------------
1313
29 | println(a.id) // error
1414
| ^^^^
@@ -18,5 +18,5 @@
1818
| testcode.ExtensionB.id(a) failed with
1919
|
2020
| Reference to id is ambiguous,
21-
| it is both imported by import testcode.ExtensionA._
22-
| and imported subsequently by import testcode.ExtensionB._
21+
| it is both imported by import testcode.ExtensionA.*
22+
| and imported subsequently by import testcode.ExtensionB.*

0 commit comments

Comments
 (0)