File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1+ -- [E007] Type Mismatch Error: tests/neg/i21543.scala:10:15 ------------------------------------------------------------
2+ 10 | Cmd(List("1", "2")) // error // error
3+ | ^^^
4+ | Found: ("1" : String)
5+ | Required: Event
6+ |
7+ | Note that I could not resolve reference Event.
8+ | Event is a private member in a base class
9+ |
10+ |
11+ | longer explanation available when compiling with `-explain`
12+ -- [E007] Type Mismatch Error: tests/neg/i21543.scala:10:20 ------------------------------------------------------------
13+ 10 | Cmd(List("1", "2")) // error // error
14+ | ^^^
15+ | Found: ("2" : String)
16+ | Required: Event
17+ |
18+ | Note that I could not resolve reference Event.
19+ | Event is a private member in a base class
20+ |
21+ |
22+ | longer explanation available when compiling with `-explain`
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ object CompilerCrash {
77
88 new Scope {
99 val commands = List (
10- Cmd (List (" 1" , " 2" ))
10+ Cmd (List (" 1" , " 2" )) // error // error
1111 )
1212 }
1313}
You can’t perform that action at this time.
0 commit comments