Skip to content

Commit 22656a4

Browse files
stereotype441Commit Queue
authored and
Commit Queue
committed
Remove unreachable default clauses from module_builder.dart.
I'm currently working on a fix to the analyzer that will cause unreachable default clauses to be properly flagged as a warning (#54575). To avoid a bot failure when the fix lands, this unreachable default clause needs to be removed. Bug: #54575 Change-Id: Iba0d32cf28f716f790c68a88b209420871845db8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/380963 Commit-Queue: Paul Berry <[email protected]> Auto-Submit: Paul Berry <[email protected]> Reviewed-by: Mark Zhou <[email protected]>
1 parent 44dd260 commit 22656a4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/dev_compiler/lib/src/compiler/module_builder.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ Program transformModuleFormat(ModuleFormat format, Program module) {
8888
case ModuleFormat.amd:
8989
return AmdModuleBuilder().build(module);
9090
case ModuleFormat.es6:
91-
default:
9291
return module;
9392
}
9493
}

0 commit comments

Comments
 (0)