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

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

Issue 27689002: Reapply "Add TypeVariable object on runtime to support reflection on type variables." and … (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix: include classes with members needed for reflection. 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 52122a4b0e9a30982c7b8ff8cd32b4f7a3cbd62f..4387ef1168e5dcc830d21f94f599e86cf1123b0e 100644
--- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart
+++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
@@ -603,7 +603,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.
@@ -1156,7 +1156,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