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

Issue 581773002: Implement new constant expressions (Closed)

Created:
6 years, 3 months ago by Brian Wilkerson
Modified:
6 years, 3 months ago
Reviewers:
Paul Berry
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address review comments #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+297 lines, -125 lines) Patch
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ConstantVisitor.java View 1 3 chunks +29 lines, -2 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ErrorResult.java View 1 chunk +5 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/EvaluationResultImpl.java View 1 chunk +9 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ValidResult.java View 1 chunk +9 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/DartObjectImpl.java View 2 chunks +13 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/InstanceState.java View 3 chunks +16 lines, -1 line 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/StringState.java View 2 chunks +10 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/constant/ConstantEvaluatorTest.java View 1 4 chunks +16 lines, -2 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/object/DartObjectImplTest.java View 43 chunks +173 lines, -116 lines 0 comments Download
A + tests/language/compile_time_constant12_test.dart View 1 1 chunk +5 lines, -3 lines 0 comments Download
M tests/language/compile_time_constant_c_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/language/language.status View 1 1 chunk +2 lines, -0 lines 2 comments Download
M tests/language/language_analyzer.status View 1 1 chunk +3 lines, -0 lines 2 comments Download
M tests/language/language_analyzer2.status View 1 1 chunk +4 lines, -0 lines 0 comments Download
M tests/language/language_dart2js.status View 1 1 chunk +2 lines, -0 lines 2 comments Download

Messages

Total messages: 7 (1 generated)
Brian Wilkerson
Two new expressions were/are being added to the language spec: concatenation of two strings using ...
6 years, 3 months ago (2014-09-17 20:48:44 UTC) #2
Paul Berry
Are there shared tests for computing the length of a constant string? If not, we ...
6 years, 3 months ago (2014-09-18 00:05:07 UTC) #3
Brian Wilkerson
PTAL https://codereview.chromium.org/581773002/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ConstantVisitor.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ConstantVisitor.java (right): https://codereview.chromium.org/581773002/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ConstantVisitor.java#newcode401 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/ConstantVisitor.java:401: if (accessor.getName().equals("length")) { > I'm confused. No, I ...
6 years, 3 months ago (2014-09-18 20:29:26 UTC) #4
Paul Berry
lgtm, thanks. (I'm assuming you're planning to file issues and update the .status files before ...
6 years, 3 months ago (2014-09-18 20:39:25 UTC) #5
Brian Wilkerson
> I'm assuming you're planning to file issues and update the > .status files before ...
6 years, 3 months ago (2014-09-18 20:48:44 UTC) #6
Brian Wilkerson
6 years, 3 months ago (2014-09-18 20:50:45 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 40462 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698