Skip to content

Commit c008be6

Browse files
scheglovCommit Queue
authored andcommitted
Elements. Remove FragmentImpl.name, pass name2 into constructors.
Change-Id: I2ef1a470de20ebc61b1e1178453cb609320ddd15 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/432462 Commit-Queue: Konstantin Shcheglov <[email protected]> Reviewed-by: Paul Berry <[email protected]>
1 parent e12e916 commit c008be6

19 files changed

+302
-501
lines changed

pkg/analyzer/lib/src/dart/analysis/driver.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ testFineAfterLibraryAnalyzerHook;
110110
// TODO(scheglov): Clean up the list of implicitly analyzed files.
111111
class AnalysisDriver {
112112
/// The version of data format, should be incremented on every format change.
113-
static const int DATA_VERSION = 467;
113+
static const int DATA_VERSION = 469;
114114

115115
/// The number of exception contexts allowed to write. Once this field is
116116
/// zero, we stop writing any new exception contexts in this process.

pkg/analyzer/lib/src/dart/element/display_string_builder.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,10 +642,9 @@ class ElementDisplayStringBuilder {
642642
}
643643

644644
var newTypeParameter = TypeParameterFragmentImpl(
645-
name: name,
645+
name2: name,
646646
nameOffset: -1,
647647
);
648-
newTypeParameter.name2 = name;
649648
newTypeParameter.bound = typeParameter.bound;
650649
newTypeParameters.add(newTypeParameter.asElement2);
651650
}

0 commit comments

Comments
 (0)