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

Unified Diff: test/codegen_expected/language/override_inheritance_no_such_method_test_13_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_13_multi.js
diff --git a/test/codegen_expected/language/override_inheritance_no_such_method_test_13_multi.js b/test/codegen_expected/language/override_inheritance_no_such_method_test_13_multi.js
index 4c364f94c89327eacc37d6157755993baacd1774..5b15d910bdc76389672b6fa8d91c0299653367ca 100644
--- a/test/codegen_expected/language/override_inheritance_no_such_method_test_13_multi.js
+++ b/test/codegen_expected/language/override_inheritance_no_such_method_test_13_multi.js
@@ -15,13 +15,13 @@ dart_library.library('language/override_inheritance_no_such_method_test_13_multi
noSuchMethod(_) {
return null;
}
- method13() {
- return this.noSuchMethod(new dart.InvocationImpl('method13', [], {isMethod: true}));
+ method13(...args) {
+ return this.noSuchMethod(new dart.InvocationImpl('method13', args, {isMethod: true}));
}
};
override_inheritance_no_such_method_test_13_multi.Class2 = class Class2 extends override_inheritance_no_such_method_test_13_multi.B {
- method13() {
- return this.noSuchMethod(new dart.InvocationImpl('method13', [], {isMethod: true}));
+ method13(...args) {
+ return this.noSuchMethod(new dart.InvocationImpl('method13', args, {isMethod: true}));
}
};
override_inheritance_no_such_method_test_13_multi.main = function() {

Powered by Google App Engine
This is Rietveld 408576698