mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 14:39:38 +00:00
[dart2js] fix minified_names_test.
This test broke on a d8 roll back in January, since then other changes in the compiler made the test drift further away from the original issue Change-Id: I081dd48ae9eea2aec4117a377805c26675d2e557 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/271862 Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>
This commit is contained in:
parent
bb7e2c9b95
commit
5f765bcf8f
|
@ -48,7 +48,7 @@ Future<D8Result> runWithD8(
|
|||
List<String> dart2jsArgs = [
|
||||
mainFile.toString(),
|
||||
'-o$output',
|
||||
'--packages=${Platform.packageConfig}',
|
||||
if (Platform.packageConfig != null) '--packages=${Platform.packageConfig}',
|
||||
]..addAll(options);
|
||||
if (printSteps) print('Running: dart2js ${dart2jsArgs.join(' ')}');
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
// @dart = 2.7
|
||||
|
||||
// Error pattern: Cannot read property '([^']*)' of null
|
||||
// Error pattern: Cannot read properties of null \(reading '([^']*)'\)
|
||||
// Kind of minified name: instance
|
||||
// Expected deobfuscated name: method
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
// @dart = 2.7
|
||||
|
||||
// Error pattern: Cannot read property '([^']*)' of null
|
||||
// Error pattern: Cannot read properties of null \(reading '([^']*)'\)
|
||||
// Kind of minified name: instance
|
||||
// Expected deobfuscated name: method
|
||||
|
||||
|
|
Loading…
Reference in a new issue