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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 15414004: When recording the type of a captured variable/parameter, use the closure field it maps to. Otherwi… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library elements; 5 library elements;
6 6
7 import 'dart:uri'; 7 import 'dart:uri';
8 8
9 import 'modelx.dart'; 9 import 'modelx.dart';
10 import '../tree/tree.dart'; 10 import '../tree/tree.dart';
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 bool isGenerativeConstructorBody(); 191 bool isGenerativeConstructorBody();
192 bool isCompilationUnit(); 192 bool isCompilationUnit();
193 bool isClass(); 193 bool isClass();
194 bool isPrefix(); 194 bool isPrefix();
195 bool isVariable(); 195 bool isVariable();
196 bool isParameter(); 196 bool isParameter();
197 bool isStatement(); 197 bool isStatement();
198 bool isTypedef(); 198 bool isTypedef();
199 bool isTypeVariable(); 199 bool isTypeVariable();
200 bool isField(); 200 bool isField();
201 bool isFieldParameter();
201 bool isAbstractField(); 202 bool isAbstractField();
202 bool isGetter(); 203 bool isGetter();
203 bool isSetter(); 204 bool isSetter();
204 bool isAccessor(); 205 bool isAccessor();
205 bool isLibrary(); 206 bool isLibrary();
206 bool isErroneous(); 207 bool isErroneous();
207 bool isAmbiguous(); 208 bool isAmbiguous();
208 209
209 bool isTopLevel(); 210 bool isTopLevel();
210 bool isAssignable(); 211 bool isAssignable();
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 int get resolutionState; 907 int get resolutionState;
907 Token get beginToken; 908 Token get beginToken;
908 Token get endToken; 909 Token get endToken;
909 910
910 // TODO(kasperl): Try to get rid of these. 911 // TODO(kasperl): Try to get rid of these.
911 void set annotatedElement(Element value); 912 void set annotatedElement(Element value);
912 void set resolutionState(int value); 913 void set resolutionState(int value);
913 914
914 MetadataAnnotation ensureResolved(Compiler compiler); 915 MetadataAnnotation ensureResolved(Compiler compiler);
915 } 916 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/closure.dart ('k') | sdk/lib/_internal/compiler/implementation/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698