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

Issue 9325023: Support noSuchMethod for methods that take named parameters. (Closed)

Created:
8 years, 10 months ago by ngeoffray
Modified:
8 years, 10 months ago
CC:
reviews_dartlang.org, karlklose, ahe, kasperl
Visibility:
Public.

Description

Support noSuchMethod for methods that take named parameters. Committed: https://code.google.com/p/dart/source/detail?r=3901

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -9 lines) Patch
M frog/leg/emitter.dart View 2 chunks +7 lines, -7 lines 2 comments Download
M tests/language/language-leg.status View 1 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
ngeoffray
8 years, 10 months ago (2012-02-03 12:35:40 UTC) #1
floitsch
LGTM. https://chromiumcodereview.appspot.com/9325023/diff/2002/frog/leg/emitter.dart File frog/leg/emitter.dart (right): https://chromiumcodereview.appspot.com/9325023/diff/2002/frog/leg/emitter.dart#newcode312 frog/leg/emitter.dart:312: buffer.add(" return this.$noSuchMethodName('$methodName', [$args]);\n"); in the current form ...
8 years, 10 months ago (2012-02-03 13:24:26 UTC) #2
ngeoffray
8 years, 10 months ago (2012-02-03 13:42:27 UTC) #3
https://chromiumcodereview.appspot.com/9325023/diff/2002/frog/leg/emitter.dart
File frog/leg/emitter.dart (right):

https://chromiumcodereview.appspot.com/9325023/diff/2002/frog/leg/emitter.dar...
frog/leg/emitter.dart:312: buffer.add("  return
this.$noSuchMethodName('$methodName', [$args]);\n");
On 2012/02/03 13:24:26, floitsch wrote:
> in the current form NSM is useless since you wouldn't know what named argument
> got what value. correct?

Correct, we need to implement a mirror thingy...

Powered by Google App Engine
This is Rietveld 408576698