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

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

Issue 2960723004: Handle super-method call (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
Index: tests/compiler/dart2js/kernel/compile_from_dill_test.dart
diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart
index 3eaef51ed75c1e63f95d52edb5b2e513d8f36bd6..a2765bed59fb222d1d6bf83d35a4f50bf2a8f9c3 100644
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart
@@ -19,7 +19,17 @@ bar(a) => !a;
class Class {
var field;
static var staticField;
- Class(this.field);
+
+ Class();
+ Class.named(this.field);
+
+ method() {}
+}
+
+class SubClass extends Class {
+ method() {
+ super.method();
+ }
}
main() {
foo();
@@ -27,7 +37,8 @@ main() {
[];
{};
new Object();
- new Class('');
+ new Class.named('');
+ new SubClass().method();
Class.staticField;
var x = null;
var y1 = x == null;

Powered by Google App Engine
This is Rietveld 408576698