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

Unified Diff: pkg/compiler/lib/src/resolution/constructors.dart

Issue 2392943003: Handle const constructor invocation in kernel_impact. (Closed)
Patch Set: Created 4 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: pkg/compiler/lib/src/resolution/constructors.dart
diff --git a/pkg/compiler/lib/src/resolution/constructors.dart b/pkg/compiler/lib/src/resolution/constructors.dart
index 1ccf7680b34da0fe01c9ed44e14e8b57629dcb17..5ebef2d8c21029668383e301dd9c38a161470c99 100644
--- a/pkg/compiler/lib/src/resolution/constructors.dart
+++ b/pkg/compiler/lib/src/resolution/constructors.dart
@@ -223,7 +223,8 @@ class InitializerResolver {
isImplicitSuperCall: true);
if (!result.isError) {
registry.registerStaticUse(
- new StaticUse.constructorInvoke(calledConstructor, callStructure));
+ new StaticUse.superConstructorInvoke(
+ calledConstructor, callStructure));
}
if (isConst && isValidAsConstant) {

Powered by Google App Engine
This is Rietveld 408576698