Commit 3601b34
Adriaan Moors
exhaust unit: consider Unit as sealed
one of the most boring sealed types imaginable, but a sealed type all the same1 parent 4da9560 commit 3601b34
File tree
1 file changed
+5
-2
lines changed- src/compiler/scala/tools/nsc/typechecker
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2350 | 2350 | | |
2351 | 2351 | | |
2352 | 2352 | | |
2353 | | - | |
2354 | | - | |
| 2353 | + | |
2355 | 2354 | | |
2356 | 2355 | | |
| 2356 | + | |
| 2357 | + | |
| 2358 | + | |
2357 | 2359 | | |
2358 | 2360 | | |
2359 | 2361 | | |
2360 | 2362 | | |
2361 | 2363 | | |
2362 | 2364 | | |
| 2365 | + | |
2363 | 2366 | | |
2364 | 2367 | | |
2365 | 2368 | | |
| |||
0 commit comments