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

Issue 11194025: Second round of cleanups for new optional parameter semantics. (Closed)

Created:
8 years, 2 months ago by regis
Modified:
8 years, 2 months ago
CC:
reviews_dartlang.org, kasperl, ahe
Visibility:
Public.

Description

Second round of cleanups for new optional parameter semantics. Committed: https://code.google.com/p/dart/source/detail?r=13759

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -219 lines) Patch
M lib/compiler/implementation/dart_backend/backend.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M lib/compiler/implementation/dart_backend/placeholder_collector.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/lib/regexp_helper.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/scanner/listener.dart View 1 3 chunks +3 lines, -3 lines 0 comments Download
M lib/compiler/implementation/scanner/string_scanner.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/ssa/builder.dart View 1 1 chunk +1 line, -1 line 1 comment Download
M pkg/args/lib/args.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/dartdoc/lib/src/dartdoc/comment_map.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M pkg/dartdoc/lib/src/dartdoc/utils.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/dartdoc/lib/src/mirrors/dart2js_mirror.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/intl/lib/date_symbols.dart View 1 1 chunk +28 lines, -28 lines 0 comments Download
M pkg/intl/lib/intl.dart View 1 2 chunks +4 lines, -4 lines 0 comments Download
M pkg/intl/lib/number_symbols.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/intl/test/date_time_format_test_core.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/unittest/core_matchers.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/unittest/future_matchers.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/unittest/mock.dart View 1 3 chunks +11 lines, -11 lines 0 comments Download
M pkg/unittest/test/mock_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/unittest/test/unittest_test.dart View 1 3 chunks +15 lines, -13 lines 0 comments Download
M runtime/bin/http_impl.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M samples/chat/chat_server_lib.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 1 chunk +1 line, -0 lines 1 comment Download
M tests/compiler/dart2js/array_static_intercept_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/boolified_operator_test.dart View 1 1 chunk +6 lines, -6 lines 0 comments Download
M tests/compiler/dart2js/boolify_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/builtin_equals_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/builtin_interceptor_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/code_motion_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/compiler_helper.dart View 1 3 chunks +6 lines, -6 lines 0 comments Download
M tests/compiler/dart2js/constant_folding_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/dart_backend_test.dart View 1 19 chunks +23 lines, -22 lines 0 comments Download
M tests/compiler/dart2js/dead_phi_eliminator_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/gvn_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/identity_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/is_inference2_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/is_inference_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/literal_list_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/loop_test.dart View 1 1 chunk +6 lines, -6 lines 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 1 chunk +5 lines, -5 lines 0 comments Download
M tests/compiler/dart2js/null_type_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/parameter_phi_elimination_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/patch_test.dart View 1 1 chunk +5 lines, -5 lines 0 comments Download
M tests/compiler/dart2js/pretty_parameter_test.dart View 1 3 chunks +6 lines, -6 lines 0 comments Download
M tests/compiler/dart2js/redundant_phi_eliminator_test.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/resolver_test.dart View 1 7 chunks +24 lines, -17 lines 0 comments Download
M tests/compiler/dart2js/scanner_offset_length_test.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M tests/compiler/dart2js/ssa_phi_codegen_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/string_escapes_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/type_guard_unuser_test.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/type_inference3_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/type_inference4_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/type_inference5_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/type_inference_test.dart View 1 1 chunk +7 lines, -7 lines 0 comments Download
M tests/standalone/io/http_connection_close_test.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M tests/standalone/io/http_connection_header_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/http_content_length_test.dart View 1 3 chunks +3 lines, -3 lines 0 comments Download
M tests/standalone/io/http_head_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/http_redirect_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
tests/standalone/io/http_shutdown_test.dart View 1 3 chunks +3 lines, -3 lines 0 comments Download
M tests/standalone/io/web_socket_test.dart View 1 7 chunks +7 lines, -7 lines 0 comments Download
M utils/css/world.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M utils/pub/git.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M utils/pub/git_source.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M utils/pub/io.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M utils/template/world.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M utils/tests/pub/test_pub.dart View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
regis
8 years, 2 months ago (2012-10-17 00:27:25 UTC) #1
Lasse Reichstein Nielsen
LGTM, but with no strong opinions about the methods being changed. https://codereview.chromium.org/11194025/diff/1/pkg/intl/lib/bidi_utils.dart File pkg/intl/lib/bidi_utils.dart (right): ...
8 years, 2 months ago (2012-10-17 14:56:10 UTC) #2
Bob Nystrom
Looked at args, unittest, and pub. Two comments, otherwise those libraries LGTM. https://codereview.chromium.org/11194025/diff/1/pkg/unittest/test/unittest_test.dart File pkg/unittest/test/unittest_test.dart ...
8 years, 2 months ago (2012-10-17 16:21:38 UTC) #3
regis
Thanks! https://codereview.chromium.org/11194025/diff/1/pkg/intl/lib/bidi_utils.dart File pkg/intl/lib/bidi_utils.dart (right): https://codereview.chromium.org/11194025/diff/1/pkg/intl/lib/bidi_utils.dart#newcode397 pkg/intl/lib/bidi_utils.dart:397: static bool detectRtlDirectionality(String str, {bool isHtml}) { On ...
8 years, 2 months ago (2012-10-17 19:58:15 UTC) #4
ahe
8 years, 2 months ago (2012-10-22 12:44:17 UTC) #5
Thank you, Regis, for cleaning up the parameter semantics!

I already have a CL to fix the dart2js crash.

https://codereview.chromium.org/11194025/diff/7002/lib/compiler/implementatio...
File lib/compiler/implementation/ssa/builder.dart (right):

https://codereview.chromium.org/11194025/diff/7002/lib/compiler/implementatio...
lib/compiler/implementation/ssa/builder.dart:3449: <HInstruction>[oldVariable]);
This is the cause of the crash.

https://codereview.chromium.org/11194025/diff/7002/tests/co19/co19-dart2js.st...
File tests/co19/co19-dart2js.status (right):

https://codereview.chromium.org/11194025/diff/7002/tests/co19/co19-dart2js.st...
tests/co19/co19-dart2js.status:9: Language/11_Statements/05_For_A01_t07: Crash
We generally try to avoid submitting changes to dart2js that introduce new
crashes.

Powered by Google App Engine
This is Rietveld 408576698