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

Unified Diff: pkg/compiler/lib/src/compile_time_constants.dart

Issue 1043723002: Handle NewExpression in SemanticSendVisitor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased+fix modely.dart Created 5 years, 9 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 | « pkg/analyzer2dart/lib/src/modely.dart ('k') | pkg/compiler/lib/src/constants/expressions.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/compile_time_constants.dart
diff --git a/pkg/compiler/lib/src/compile_time_constants.dart b/pkg/compiler/lib/src/compile_time_constants.dart
index 13d5d63a79b89bf19cacf169c01ea3fd5f2d7ffb..a5b01f39fd65e3e9826a5df915161c46dd5d62cb 100644
--- a/pkg/compiler/lib/src/compile_time_constants.dart
+++ b/pkg/compiler/lib/src/compile_time_constants.dart
@@ -732,7 +732,7 @@ class CompileTimeConstantEvaluator extends Visitor<AstConstant> {
AstConstant createEvaluatedConstant(ConstantValue value) {
return new AstConstant(
- context, node, new ConstructedConstantExpresssion(
+ context, node, new ConstructedConstantExpression(
value,
type,
constructor,
@@ -850,7 +850,7 @@ class CompileTimeConstantEvaluator extends Visitor<AstConstant> {
evaluator.buildFieldConstants(classElement);
return new AstConstant(
- context, node, new ConstructedConstantExpresssion(
+ context, node, new ConstructedConstantExpression(
new ConstructedConstantValue(
constructedType,
fieldConstants.map((e) => e.value).toList()),
« no previous file with comments | « pkg/analyzer2dart/lib/src/modely.dart ('k') | pkg/compiler/lib/src/constants/expressions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698