Skip to content

Commit 2873a73

Browse files
Update comment
1 parent aabc81b commit 2873a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ object PatternMatcher {
839839
default
840840
}
841841
case ResultPlan(tree) =>
842-
if (tree.tpe <:< defn.NothingType) tree // Namely MatchError
842+
if (tree.tpe <:< defn.NothingType) tree // For example MatchError
843843
else Return(tree, ref(resultLabel))
844844
}
845845
}

0 commit comments

Comments
 (0)