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

Unified Diff: pkg/compiler/lib/src/ssa/builder.dart

Issue 816663002: dart2js: Fix crash with reference to type literal in static context. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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 | « pkg/compiler/lib/src/resolution/members.dart ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/builder.dart
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
index 1a1e7d0e49bebad44c1781227fdefbd0a6043097..636270d5fe4e118cf26ded8d76aeb93d1af722ce 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -4139,10 +4139,8 @@ class SsaBuilder extends ResolvedVisitor {
return readTypeVariable(member.enclosingClass,
type.element);
} else {
- // TODO(ngeoffray): Match the VM behavior and throw an
- // exception at runtime.
compiler.internalError(type.element,
- 'Unimplemented unresolved type variable.');
+ 'Unexpected type variable in static context.');
return null;
}
}
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698