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

Unified Diff: test/codegen_expected/language/override_inheritance_no_such_method_test_04_multi.js

Issue 2201973002: fix optional params to mock methods, allow all signatures (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: fix getters and setters Created 4 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: test/codegen_expected/language/override_inheritance_no_such_method_test_04_multi.js
diff --git a/test/codegen_expected/language/override_inheritance_no_such_method_test_04_multi.js b/test/codegen_expected/language/override_inheritance_no_such_method_test_04_multi.js
index 5165a143b9fd5673c5e96980efd57c0134330409..f5fd62c5fd225e8f43d52e076fdf443940c5ef1e 100644
--- a/test/codegen_expected/language/override_inheritance_no_such_method_test_04_multi.js
+++ b/test/codegen_expected/language/override_inheritance_no_such_method_test_04_multi.js
@@ -14,8 +14,8 @@ dart_library.library('language/override_inheritance_no_such_method_test_04_multi
if (__ === void 0) __ = null;
return null;
}
- method4() {
- return this.noSuchMethod(new dart.InvocationImpl('method4', [], {isMethod: true}));
+ method4(...args) {
+ return this.noSuchMethod(new dart.InvocationImpl('method4', args, {isMethod: true}));
}
};
override_inheritance_no_such_method_test_04_multi.Class1[dart.implements] = () => [override_inheritance_no_such_method_test_04_multi.I];

Powered by Google App Engine
This is Rietveld 408576698