Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: tests/compiler/dart2js/kernel/test_helpers.dart

Issue 2983483002: Check function type equivalence (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/equivalence/check_functions.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/kernel/test_helpers.dart
diff --git a/tests/compiler/dart2js/kernel/test_helpers.dart b/tests/compiler/dart2js/kernel/test_helpers.dart
index 57b08fa93a9aabd22d3efcfd8f9451ba370448a2..5aaa6619df7e9e324d12d9a3fa4d6c091addf45d 100644
--- a/tests/compiler/dart2js/kernel/test_helpers.dart
+++ b/tests/compiler/dart2js/kernel/test_helpers.dart
@@ -175,6 +175,7 @@ class KernelEquivalence {
{TestStrategy strategy}) {
if (identical(a, b)) return true;
if (a == null || b == null) return false;
+ a = unalias(a);
strategy ??= defaultStrategy;
switch (a.kind) {
case ResolutionTypeKind.DYNAMIC:
« no previous file with comments | « tests/compiler/dart2js/equivalence/check_functions.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698