We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e486ef commit cd3b34fCopy full SHA for cd3b34f
pkg/front_end/lib/src/fasta/kernel/constant_evaluator.dart
@@ -1588,10 +1588,6 @@ class ConstantEvaluator extends RecursiveVisitor<Constant> {
1588
final Member target = node.target;
1589
if (target is Field) {
1590
if (target.isConst) {
1591
- if (target.isInExternalLibrary && target.initializer == null) {
1592
- // The variable is unavailable due to separate compilation.
1593
- return unevaluated(node, new StaticGet(target));
1594
- }
1595
return runInsideContext(target, () {
1596
return _evaluateSubexpression(target.initializer);
1597
});
0 commit comments