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

Unified Diff: sdk/lib/_internal/compiler/implementation/resolution/members.dart

Issue 26472002: Add TypeVariable object on runtime to support reflection on type variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments. Created 7 years, 2 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
Index: sdk/lib/_internal/compiler/implementation/resolution/members.dart
diff --git a/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
index f09879ab20914fcddc018b49ab112a750cde9c09..6ece9cc1515e4f0631c56e8d47bc26ea1f15b880 100644
--- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart
+++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
@@ -528,7 +528,7 @@ class ResolverTask extends CompilerTask {
return result;
}
- void resolveRedirectionChain(FunctionElement constructor, Node node) {
+ void resolveRedirectionChain(FunctionElement constructor, Spannable node) {
FunctionElementX current = constructor;
List<Element> seen = new List<Element>();
// Follow the chain of redirections and check for cycles.
@@ -1081,7 +1081,7 @@ class ResolverTask extends CompilerTask {
}));
}
- error(Node node, MessageKind kind, [arguments = const {}]) {
+ error(Spannable node, MessageKind kind, [arguments = const {}]) {
// TODO(ahe): Make non-fatal.
compiler.reportFatalError(node, kind, arguments);
}

Powered by Google App Engine
This is Rietveld 408576698