Index: pkg/analyzer/lib/src/summary/format.dart |
diff --git a/pkg/analyzer/lib/src/summary/format.dart b/pkg/analyzer/lib/src/summary/format.dart |
index a51595467ecb169444e10953a392207ddd451b36..6d4ecc85c6e9d8512be377331dc9ac3b251ed343 100644 |
--- a/pkg/analyzer/lib/src/summary/format.dart |
+++ b/pkg/analyzer/lib/src/summary/format.dart |
@@ -5370,6 +5370,8 @@ class UnlinkedExecutableBuilder extends Object with _UnlinkedExecutableMixin imp |
_redirectedConstructor?.flushInformative(); |
_returnType?.flushInformative(); |
_typeParameters?.forEach((b) => b.flushInformative()); |
+ _visibleLength = null; |
+ _visibleOffset = null; |
} |
/** |
@@ -5430,8 +5432,6 @@ class UnlinkedExecutableBuilder extends Object with _UnlinkedExecutableMixin imp |
x?.collectApiSignature(signature); |
} |
} |
- signature.addInt(this._visibleLength ?? 0); |
- signature.addInt(this._visibleOffset ?? 0); |
signature.addInt(this._constCycleSlot ?? 0); |
signature.addBool(this._bodyExpr != null); |
this._bodyExpr?.collectApiSignature(signature); |