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

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

Issue 10824399: Implement TypeVariableElement.position. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/elements/elements.dart
diff --git a/lib/compiler/implementation/elements/elements.dart b/lib/compiler/implementation/elements/elements.dart
index 4e4c74d73c89f3cdec77ea935a97eaeac7ff11ed..a4a884e3cd7a8d34a6367384b10f8c8fd39b8d8d 100644
--- a/lib/compiler/implementation/elements/elements.dart
+++ b/lib/compiler/implementation/elements/elements.dart
@@ -1511,6 +1511,8 @@ class TypeVariableElement extends Element {
String toString() => "${enclosingElement.toString()}.${name.slowToString()}";
+ Token position() => findMyName(enclosingElement.position());
ahe 2012/08/21 14:06:37 I think this should be: Token position() => cache
Anton Muhin 2012/08/21 14:08:27 Fresh CL sent to you and Johnni. On 2012/08/21 14
+
TypeVariableElement cloneTo(Element enclosing, DiagnosticListener listener) {
TypeVariableElement result =
new TypeVariableElement(name, enclosing, cachedNode, type, bound);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698