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

Unified Diff: tests/compiler/dart2js/semantic_visitor_test.dart

Issue 1115183002: Add ConstantConstructor to ConstantExpression system. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 5 years, 7 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 | « tests/compiler/dart2js/constant_expression_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/semantic_visitor_test.dart
diff --git a/tests/compiler/dart2js/semantic_visitor_test.dart b/tests/compiler/dart2js/semantic_visitor_test.dart
index 402ec30e54dd149bdad4e9bf6ae7f089f0089bd2..35bb4e43288b26b01b9dec7a792785ac3b862cdf 100644
--- a/tests/compiler/dart2js/semantic_visitor_test.dart
+++ b/tests/compiler/dart2js/semantic_visitor_test.dart
@@ -2352,7 +2352,8 @@ const Map<String, List<Test>> DECL_TESTS = const {
index: 0),
const Visit(VisitKind.VISIT_OPTIONAL_PARAMETER_DECL,
element: 'parameter(m#b)',
- index: 1),
+ index: 1,
+ constant: 'null'),
]),
const Test(
'''
@@ -2401,7 +2402,8 @@ const Map<String, List<Test>> DECL_TESTS = const {
element: 'parameter(m#a)',
index: 0),
const Visit(VisitKind.VISIT_NAMED_PARAMETER_DECL,
- element: 'parameter(m#b)'),
+ element: 'parameter(m#b)',
+ constant: 'null'),
]),
const Test(
'''
« no previous file with comments | « tests/compiler/dart2js/constant_expression_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698