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

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

Issue 2958013002: Steps towards handling `new Element.div()` (Closed)
Patch Set: Created 3 years, 6 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 | « pkg/compiler/lib/src/native/enqueue.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/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 b934b660ac82c23954b78346549ffc3cc05e2286..a74a58d08f9a2f9cd5a2ca5ce910192707c5c270 100644
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
@@ -31,6 +31,8 @@ import 'compiler_helper.dart';
const SOURCE = const {
'main.dart': '''
+import 'dart:html';
+
foo({named}) => 1;
bar(a) => !a;
class Class {
@@ -42,12 +44,15 @@ class Class {
method() {}
}
-
+
class SubClass extends Class {
method() {
super.method();
}
}
+
+var toplevel;
Siggi Cherem (dart-lang) 2017/06/27 20:20:43 This seems a bit unrelated to the change, is it re
Johnni Winther 2017/06/28 08:09:05 It was on the path - triggering the fix in element
+
main() {
foo();
bar(true);
@@ -80,6 +85,7 @@ main() {
x = v;
if (v == 5) break;
}
+ x = toplevel;
print(x);
return x;
}
« no previous file with comments | « pkg/compiler/lib/src/native/enqueue.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698