Skip to content

Commit 6254583

Browse files
pqCommit Queue
authored andcommitted
[element model] migrate type_constraint_generation_test
Change-Id: I371124dbf9e1b643f2d1d8777ac7685228ecb563 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/403701 Auto-Submit: Phil Quitslund <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Phil Quitslund <[email protected]>
1 parent 26a2bf2 commit 6254583

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pkg/analyzer/analyzer_use_new_elements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ test/generated/elements_types_mixin.dart
146146
test/generated/non_error_resolver_test.dart
147147
test/generated/resolver_test_case.dart
148148
test/generated/type_system_test.dart
149-
test/id_tests/type_constraint_generation_test.dart
150149
test/src/dart/analysis/index_test.dart
151150
test/src/dart/analysis/result_printer.dart
152151
test/src/dart/analysis/results/get_element_declaration_test.dart

pkg/analyzer/test/id_tests/type_constraint_generation_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ class _TypeConstraintGenerationDataComputer
4141
Map<Id, ActualData<List<GeneratedTypeConstraint>>> actualMap) {
4242
_TypeConstraintGenerationDataExtractor(
4343
testingData.uriToTypeConstraintGenerationData[
44-
unit.declaredElement!.source.uri]!,
45-
unit.declaredElement!.source.uri,
44+
unit.declaredFragment?.source.uri]!,
45+
unit.declaredFragment!.source.uri,
4646
actualMap)
4747
.run(unit);
4848
}

0 commit comments

Comments
 (0)