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

Unified Diff: dart/lib/compiler/implementation/resolver.dart

Issue 10913153: Parse methods named 'get' or 'set' (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 8 years, 3 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 | « no previous file | dart/lib/compiler/implementation/scanner/listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/resolver.dart
diff --git a/dart/lib/compiler/implementation/resolver.dart b/dart/lib/compiler/implementation/resolver.dart
index 978df3e2e2db69cb0ee68ad7338cf472dcd50be4..b1c3710b52f9b888f69b25ceccbc9ef1fd3c1fa7 100644
--- a/dart/lib/compiler/implementation/resolver.dart
+++ b/dart/lib/compiler/implementation/resolver.dart
@@ -283,6 +283,8 @@ class ResolverTask extends CompilerTask {
void checkMembers(ClassElement cls) {
if (cls === compiler.objectClass) return;
cls.forEachMember((holder, member) {
+ // Perform various checks as side effect of "computing" the type.
+ member.computeType(compiler);
// Check modifiers.
if (member.isFunction() && member.modifiers.isFinal()) {
« no previous file with comments | « no previous file | dart/lib/compiler/implementation/scanner/listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698