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

Unified Diff: frog/leg/namer.dart

Issue 9223012: Small changes to get code generation of getters and setters working. Resolution is not fully corr... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 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
« no previous file with comments | « frog/leg/emitter.dart ('k') | frog/leg/resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/namer.dart
===================================================================
--- frog/leg/namer.dart (revision 3641)
+++ frog/leg/namer.dart (working copy)
@@ -107,6 +107,10 @@
FunctionElement functionElement = element;
int parameterCount = functionElement.parameterCount(compiler);
return instanceMethodName(element.name, parameterCount);
+ } else if (element.kind == ElementKind.GETTER) {
+ return getterName(element.name);
+ } else if (element.kind == ElementKind.SETTER) {
+ return setterName(element.name);
} else {
return instanceFieldName(element.name);
}
« no previous file with comments | « frog/leg/emitter.dart ('k') | frog/leg/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698