mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:17:14 +00:00
Don't prevent 'isCycleFree' updating for resynthesized constructors.
We update it in ConstantEvaluationEngine which in general case does not know whether the constructor is resynthesized or not. R=brianwilkerson@google.com BUG= Review URL: https://codereview.chromium.org/2047103002 .
This commit is contained in:
parent
7d9e75e0b6
commit
0f061f1987
|
@ -2071,7 +2071,8 @@ class ConstructorElementImpl extends ExecutableElementImpl
|
|||
}
|
||||
|
||||
void set isCycleFree(bool isCycleFree) {
|
||||
assert(serializedExecutable == null);
|
||||
// This property is updated in ConstantEvaluationEngine even for
|
||||
// resynthesized constructors, so we don't have the usual assert here.
|
||||
_isCycleFree = isCycleFree;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: analyzer
|
||||
version: 0.27.4-alpha.9
|
||||
version: 0.27.4-alpha.10
|
||||
author: Dart Team <misc@dartlang.org>
|
||||
description: Static analyzer for Dart.
|
||||
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/analyzer
|
||||
|
|
Loading…
Reference in a new issue