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

Unified Diff: lib/compiler/implementation/ssa/builder.dart

Issue 10991035: Fix invalid location in inline super constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | tests/compiler/dart2js_extra/source_mapping_crash_source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/builder.dart
diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart
index 6750f6de210305a3ec9da00cd91d7515c6a10d61..4f4ee4269127b5b1c16c74fc7673dd991b041517 100644
--- a/lib/compiler/implementation/ssa/builder.dart
+++ b/lib/compiler/implementation/ssa/builder.dart
@@ -1113,7 +1113,9 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
element: constructor);
}
+ sourceElementStack.add(constructor.enclosingElement);
buildFieldInitializers(constructor.enclosingElement, fieldValues);
+ sourceElementStack.removeLast();
int index = 0;
FunctionSignature params = constructor.computeSignature(compiler);
@@ -2297,8 +2299,8 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
typeInfo = pop();
}
if (type.element.isTypeVariable()) {
- // TODO(karlklose): We currently answer true to any is check
- // involving a type variable -- both is T and is !T -- until
+ // TODO(karlklose): We currently answer true to any is check
+ // involving a type variable -- both is T and is !T -- until
// we have a proper implementation of reified generics.
stack.add(graph.addConstantBool(true, constantSystem));
} else {
« no previous file with comments | « no previous file | tests/compiler/dart2js_extra/source_mapping_crash_source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698