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

Unified Diff: runtime/vm/parser.h

Issue 23482004: Evaluates arguments before throwing a NoSuchMethodError in constructor (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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: runtime/vm/parser.h
===================================================================
--- runtime/vm/parser.h (revision 26748)
+++ runtime/vm/parser.h (working copy)
@@ -636,8 +636,17 @@
AstNode* ThrowNoSuchMethodError(intptr_t call_pos,
const Class& cls,
const String& function_name,
+ ArgumentListNode* actuals,
regis 2013/08/28 21:10:54 function_arguments
zra 2013/08/28 22:47:00 Done.
InvocationMirror::Call call,
InvocationMirror::Type type);
+ AstNode* ThrowNoSuchMethodError(intptr_t call_pos,
+ const Class& cls,
+ const String& function_name,
+ InvocationMirror::Call call,
+ InvocationMirror::Type type) {
+ return ThrowNoSuchMethodError(
+ call_pos, cls, function_name, NULL, call, type);
+ }
regis 2013/08/28 21:10:54 No overriding, please.
regis 2013/08/28 21:49:39 As Srdjan rightfully pointed out, I meant no overl
zra 2013/08/28 22:47:00 Done.
void CheckOperatorArity(const MemberDesc& member);

Powered by Google App Engine
This is Rietveld 408576698