mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 01:13:04 +00:00
Revert "[dartdevc] Immediately throw when encountering an unevaluated constant"
This reverts commit fd38424fa4
.
Temporarily disabling this to get Flutter roll going. See
https://github.com/dart-lang/sdk/issues/37605
TBR=nshahan@google.com
Change-Id: I44dbb1d4aaf8d5f9cc05f096d26cade93a364f4c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110120
Reviewed-by: Vijay Menon <vsm@google.com>
Commit-Queue: Vijay Menon <vsm@google.com>
This commit is contained in:
parent
76128480ae
commit
62674b977d
|
@ -5376,7 +5376,7 @@ class ProgramCompiler extends Object
|
|||
|
||||
@override
|
||||
js_ast.Expression visitUnevaluatedConstant(UnevaluatedConstant node) =>
|
||||
throw UnsupportedError('Encountered an unevaluated constant: $node');
|
||||
_visitExpression(node.expression);
|
||||
}
|
||||
|
||||
bool _isInlineJSFunction(Statement body) {
|
||||
|
|
Loading…
Reference in a new issue