Skip to content

Commit 62674b9

Browse files
vsmenoncommit-bot@chromium.org
authored andcommitted
Revert "[dartdevc] Immediately throw when encountering an unevaluated constant"
This reverts commit fd38424. Temporarily disabling this to get Flutter roll going. See #37605 [email protected] Change-Id: I44dbb1d4aaf8d5f9cc05f096d26cade93a364f4c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110120 Reviewed-by: Vijay Menon <[email protected]> Commit-Queue: Vijay Menon <[email protected]>
1 parent 7612848 commit 62674b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5376,7 +5376,7 @@ class ProgramCompiler extends Object
53765376

53775377
@override
53785378
js_ast.Expression visitUnevaluatedConstant(UnevaluatedConstant node) =>
5379-
throw UnsupportedError('Encountered an unevaluated constant: $node');
5379+
_visitExpression(node.expression);
53805380
}
53815381

53825382
bool _isInlineJSFunction(Statement body) {

0 commit comments

Comments
 (0)