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

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

Issue 2992763002: Add boxed fields in closure classes. (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
Index: tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
index 35f9fee4fd11f0f1d7dae82eb6a7a2677ac4a727..7d997bb13d61b278a32b4cb0cd418fe483ca7bd9 100644
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
@@ -60,15 +60,15 @@ class Class {
Class();
Class.named(this.field) {
staticField = 42;
- }
+ }
method() {}
}
-
+
class SubClass extends Class {
method() {
super.method();
- }
+ }
}
class Generic<T> {
@@ -145,7 +145,7 @@ testAsFunction(o) => o as NoArg;
'''
}),
const Test(const {
- 'main.dart': '''
+ 'main.dart': '''
main() {
var x;
@@ -157,7 +157,7 @@ main() {
i++;
} while (i < 10);
print(x);
-}
+}
'''
}, expectIdenticalOutput: false),
const Test(const {

Powered by Google App Engine
This is Rietveld 408576698