File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1+ Subproject commit 8e4a40588491608aa40099f79c881d54a5094e75
Original file line number Diff line number Diff line change 1+ -- [E007] Type Mismatch Error: tests/neg/inline-val-out-of-bounds.scala:1:21 -------------------------------------------
2+ 1 |inline val a: Byte = 500 // error
3+ | ^^^
4+ | Found: (500 : Int)
5+ | Required: Byte
6+ |
7+ | longer explanation available when compiling with `-explain`
8+ -- Error: tests/neg/inline-val-out-of-bounds.scala:2:20 ----------------------------------------------------------------
9+ 2 |inline val b: Int = 8589934592 // error
10+ | ^^^^^^^^^^
11+ | number too large
Original file line number Diff line number Diff line change 1+ inline val a : Byte = 500 // error
2+ inline val b : Int = 8589934592 // error
You can’t perform that action at this time.
0 commit comments