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

Issue 2211293002: Reify type params on map literals (Closed)

Created:
4 years, 4 months ago by vsm
Modified:
4 years, 4 months ago
Reviewers:
Leaf, Jennifer Messerly
CC:
dev-compiler+reviews_dartlang.org
Base URL:
https://github.com/dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Suppress type params if all are dynamic #

Patch Set 3 : Suppress empty arg with dynamic params #

Total comments: 2

Patch Set 4 : Remove unnecessary null check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+341 lines, -300 lines) Patch
M lib/runtime/dart_sdk.js View 1 2 23 chunks +25 lines, -24 lines 0 comments Download
M lib/src/compiler/code_generator.dart View 1 2 3 2 chunks +6 lines, -4 lines 0 comments Download
A + test/codegen/language/map_literal11_test.dart View 1 chunk +8 lines, -7 lines 0 comments Download
M test/codegen_expected/corelib/apply2_test.js View 1 2 1 chunk +35 lines, -35 lines 0 comments Download
M test/codegen_expected/corelib/apply_test.js View 1 chunk +3 lines, -3 lines 0 comments Download
M test/codegen_expected/corelib/collection_to_string_test.js View 1 2 2 chunks +9 lines, -8 lines 0 comments Download
M test/codegen_expected/corelib/data_uri_test.js View Binary file 0 comments Download
M test/codegen_expected/corelib/expando_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/corelib/json_map_test.js View 1 2 9 chunks +19 lines, -18 lines 0 comments Download
M test/codegen_expected/corelib/map_from_test.js View 4 chunks +4 lines, -4 lines 0 comments Download
M test/codegen_expected/corelib/map_keys2_test.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen_expected/corelib/map_keys_test.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen_expected/corelib/map_values_test.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen_expected/corelib/uri_http_test.js View 2 chunks +4 lines, -4 lines 0 comments Download
M test/codegen_expected/corelib/uri_parameters_all_test.js View 2 chunks +6 lines, -5 lines 0 comments Download
M test/codegen_expected/corelib/uri_test.js View Binary file 0 comments Download
M test/codegen_expected/language/call_function_apply_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/call_nonexistent_static_test_none_multi.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/canonical_const_test.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen_expected/language/classes_static_method_clash_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/closure_in_field_initializer_test.js View 1 chunk +3 lines, -2 lines 0 comments Download
M test/codegen_expected/language/compile_time_constant10_test_none_multi.js View 2 chunks +3 lines, -3 lines 0 comments Download
M test/codegen_expected/language/compile_time_constant_a_test.js View 1 2 2 chunks +7 lines, -6 lines 0 comments Download
M test/codegen_expected/language/compile_time_constant_b_test.js View 1 chunk +3 lines, -3 lines 0 comments Download
M test/codegen_expected/language/compile_time_constant_c_test_01_multi.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen_expected/language/compile_time_constant_c_test_none_multi.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/compile_time_constant_k_test_none_multi.js View 1 chunk +5 lines, -5 lines 0 comments Download
M test/codegen_expected/language/compile_time_constant_o_test_none_multi.js View 1 chunk +9 lines, -9 lines 0 comments Download
M test/codegen_expected/language/compile_time_constant_r_test_none_multi.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/const_dynamic_type_literal_test_03_multi.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/const_map_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/ct_const2_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/deferred_static_seperate_test.js View 1 2 4 chunks +14 lines, -14 lines 0 comments Download
M test/codegen_expected/language/first_class_types_literals_test_01_multi.js View 1 chunk +3 lines, -3 lines 0 comments Download
M test/codegen_expected/language/first_class_types_literals_test_02_multi.js View 1 chunk +3 lines, -3 lines 0 comments Download
M test/codegen_expected/language/first_class_types_literals_test_none_multi.js View 1 chunk +3 lines, -3 lines 0 comments Download
M test/codegen_expected/language/first_class_types_test.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/function_syntax_test_none_multi.js View 3 chunks +6 lines, -6 lines 0 comments Download
M test/codegen_expected/language/identical_const_test_05_multi.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen_expected/language/identical_const_test_06_multi.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen_expected/language/identical_const_test_07_multi.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen_expected/language/identical_const_test_08_multi.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen_expected/language/identical_const_test_none_multi.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen_expected/language/issue10204_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/lazy_map_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/list_tracer_in_map_test.js View 2 chunks +2 lines, -1 line 0 comments Download
M test/codegen_expected/language/map_literal10_test.js View 1 chunk +4 lines, -4 lines 0 comments Download
A test/codegen_expected/language/map_literal11_test.js View 1 chunk +27 lines, -0 lines 0 comments Download
M test/codegen_expected/language/map_literal1_test_none_multi.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/map_literal2_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/map_literal7_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/map_literal9_test.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen_expected/language/map_literal_test.js View 2 chunks +6 lines, -6 lines 0 comments Download
M test/codegen_expected/language/methods_as_constants_test.js View 2 chunks +5 lines, -4 lines 0 comments Download
M test/codegen_expected/language/mixin_prefix_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/ordered_maps_test.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen_expected/language/parse_closures_in_initializers_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/regress_23046_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/static_const_field_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/string_interpolate2_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/language/string_interpolation_newline_test.js View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M test/codegen_expected/lib/convert/chunked_conversion_json_decode1_test.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/lib/convert/chunked_conversion_json_encode1_test.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/lib/convert/json_lib_test.js View 1 2 3 chunks +19 lines, -17 lines 0 comments Download
M test/codegen_expected/lib/convert/json_pretty_test.js View 1 2 Binary file 0 comments Download
M test/codegen_expected/lib/convert/json_test.js View 1 2 Binary file 0 comments Download
M test/codegen_expected/lib/convert/json_toEncodable_reviver_test.js View 3 chunks +3 lines, -3 lines 0 comments Download
M test/codegen_expected/lib/convert/json_util_test.js View 1 2 Binary file 0 comments Download
M test/codegen_expected/lib/convert/streamed_conversion_json_decode1_test.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/lib/convert/streamed_conversion_json_encode1_test.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/lib/html/element_animate_test.js View 3 chunks +3 lines, -3 lines 0 comments Download
M test/codegen_expected/lib/html/event_customevent_test.js View 2 chunks +3 lines, -3 lines 0 comments Download
M test/codegen_expected/lib/html/fontface_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/lib/html/history_test.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen_expected/lib/html/indexeddb_1_test.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/lib/html/indexeddb_5_test.js View 2 chunks +4 lines, -4 lines 0 comments Download
M test/codegen_expected/lib/html/rtc_test.js View 2 chunks +4 lines, -3 lines 0 comments Download
M test/codegen_expected/lib/html/xhr_test.js View 3 chunks +3 lines, -3 lines 0 comments Download
M test/codegen_expected/map_keys.js View 1 chunk +5 lines, -5 lines 0 comments Download
M test/codegen_expected/matcher/matcher.js View 1 2 8 chunks +10 lines, -10 lines 0 comments Download
M test/codegen_expected/stack_trace/stack_trace.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen_expected/unittest/unittest.js View 1 2 9 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
vsm
4 years, 4 months ago (2016-08-05 00:23:49 UTC) #3
Leaf
lgtm. This may cause some breakage, we may want to do some pre-triaging.
4 years, 4 months ago (2016-08-05 00:31:20 UTC) #5
Jennifer Messerly
lgtm https://codereview.chromium.org/2211293002/diff/40001/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/2211293002/diff/40001/lib/src/compiler/code_generator.dart#newcode4949 lib/src/compiler/code_generator.dart:4949: var reifyTypeArgs = typeArgs != null && typeArgs.any((t) ...
4 years, 4 months ago (2016-08-05 13:48:33 UTC) #6
vsm
https://codereview.chromium.org/2211293002/diff/40001/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/2211293002/diff/40001/lib/src/compiler/code_generator.dart#newcode4949 lib/src/compiler/code_generator.dart:4949: var reifyTypeArgs = typeArgs != null && typeArgs.any((t) => ...
4 years, 4 months ago (2016-08-05 14:15:03 UTC) #7
vsm
On 2016/08/05 00:31:20, Leaf wrote: > lgtm. This may cause some breakage, we may want ...
4 years, 4 months ago (2016-08-05 14:15:55 UTC) #8
vsm
4 years, 4 months ago (2016-08-05 14:16:14 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
881a304f51a12869a5965cfaa55731d17cf73527 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698