You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'List is defined in /var/folders/4p/y54w9nqj0_n6ryqwn7lxqz6800m6cw/T/DartAnalysisWrapperintLAw/main.dart',
19
19
'List is defined in main.dart',
20
20
);
21
21
});
22
22
23
23
test('replaces a SDK path with "dart:core"', () {
24
-
expectNormalizeImports(
24
+
expectNormalizeFilePaths(
25
25
'List is defined in /path/dart/dart/sdk/lib/core/list.dart',
26
26
'List is defined in dart:core/list.dart',
27
27
);
28
28
});
29
29
30
30
test('replaces a specific SDK path with "dart:core"', () {
31
-
expectNormalizeImports(
31
+
expectNormalizeFilePaths(
32
32
"The argument type 'List<int> (where List is defined in /Users/username/sdk/dart/2.10.5/lib/core/list.dart)' can't be assigned to the parameter type 'List<int> (where List is defined in /var/folders/4p/tmp/T/DartAnalysisWrapperintLAw/main.dart)'.",
33
33
"The argument type 'List<int> (where List is defined in dart:core/list.dart)' can't be assigned to the parameter type 'List<int> (where List is defined in main.dart)'.",
"The argument type 'StatelessWidget (where StatelessWidget is defined in /Users/username/path/to/dart-services/project_templates/flutter_project/main.dart)' can't be assigned to the parameter type 'StatelessWidget (where StatelessWidget is defined in /Users/username/path/to/dart-services/flutter-sdk/packages/flutter/lib/src/widgets/framework.dart)'.",
58
58
"The argument type 'StatelessWidget (where StatelessWidget is defined in main.dart)' can't be assigned to the parameter type 'StatelessWidget (where StatelessWidget is defined in package:flutter/framework.dart)'.",
0 commit comments