Skip to content

Commit 5c61409

Browse files
committed
Remove unchecked to wait for improving error message
1 parent 447e3c6 commit 5c61409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/transform/PatternMatcher.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,8 +1029,8 @@ object PatternMatcher {
10291029
end checkSwitch
10301030

10311031
val optimizations: List[(String, Plan => Plan)] = List(
1032-
"mergeTests" -> mergeTests: @unchecked,
1033-
"inlineVars" -> inlineVars: @unchecked
1032+
"mergeTests" -> mergeTests,
1033+
"inlineVars" -> inlineVars
10341034
)
10351035

10361036
/** Translate pattern match to sequence of tests. */

0 commit comments

Comments
 (0)