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:
Vijay Menon 2019-07-23 16:43:24 +00:00 committed by commit-bot@chromium.org
parent 76128480ae
commit 62674b977d

View file

@ -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) {