Skip to content

Commit 1d2688e

Browse files
authored
Update Checking.scala
1 parent 363f8b6 commit 1d2688e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/init/Checking.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ object Checking {
340340
}
341341

342342
for (eff <- buffer.toList) {
343-
val err = check(eff)
343+
val errs = check(eff)
344344
if !errs.isEmpty then
345345
return UnsafePromotion(warm, eff.source, state.path, errs.toList).toErrors
346346
}

0 commit comments

Comments
 (0)