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

Issue 977613002: Make int and double nullable by default (Closed)

Created:
5 years, 9 months ago by vsm
Modified:
5 years, 9 months ago
Reviewers:
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

Make int and double nullable by default See patch set 1 for the initial step back and patch set 2 to try to get some of this back. R=jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/f51dc255ae83e23e9b705c9d044e5d64edcb8661

Patch Set 1 #

Patch Set 2 : Optimize away some nonnull checks #

Total comments: 4

Patch Set 3 : actually upload changes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2086 lines, -2035 lines) Patch
M lib/config.dart View 1 chunk +2 lines, -1 line 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 2 1 chunk +48 lines, -1 line 1 comment Download
M lib/src/testing.dart View 3 chunks +5 lines, -2 lines 0 comments Download
M test/checker/checker_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M test/checker/inferred_type_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M test/codegen/expect/BenchmarkBase.js View 1 3 chunks +5 lines, -5 lines 0 comments Download
M test/codegen/expect/DeltaBlue.js View 1 17 chunks +28 lines, -28 lines 0 comments Download
M test/codegen/expect/constructors.js View 1 1 chunk +4 lines, -4 lines 0 comments Download
M test/codegen/expect/dart/_interceptors.js View 1 2 53 chunks +109 lines, -109 lines 0 comments Download
M test/codegen/expect/dart/_internal.js View 1 57 chunks +166 lines, -166 lines 0 comments Download
M test/codegen/expect/dart/_isolate_helper.js View 1 2 25 chunks +43 lines, -43 lines 0 comments Download
M test/codegen/expect/dart/_js_helper.js View 1 2 70 chunks +139 lines, -139 lines 0 comments Download
M test/codegen/expect/dart/_js_primitives.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/dart/_native_typed_data.js View 1 2 26 chunks +200 lines, -200 lines 0 comments Download
M test/codegen/expect/dart/async.js View 1 57 chunks +99 lines, -99 lines 0 comments Download
M test/codegen/expect/dart/collection.js View 1 2 135 chunks +310 lines, -310 lines 0 comments Download
M test/codegen/expect/dart/convert.js View 1 2 46 chunks +191 lines, -191 lines 0 comments Download
M test/codegen/expect/dart/core.js View 1 93 chunks +296 lines, -296 lines 0 comments Download
M test/codegen/expect/dart/isolate.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/dart/math.js View 1 11 chunks +69 lines, -69 lines 0 comments Download
M test/codegen/expect/dir/html_input_a.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/dir/html_input_c.js View 1 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/dir/html_input_d.js View 1 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen/expect/fieldtest.js View 1 2 chunks +3 lines, -3 lines 0 comments Download
M test/codegen/expect/methods.js View 2 chunks +3 lines, -3 lines 0 comments Download
M test/codegen/expect/sunflower.js View 1 3 chunks +8 lines, -8 lines 0 comments Download
M test/dart_codegen/expect/_internal/iterable.dart View 15 chunks +30 lines, -30 lines 0 comments Download
M test/dart_codegen/expect/_internal/list.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M test/dart_codegen/expect/async/stream.dart View 22 chunks +76 lines, -84 lines 0 comments Download
M test/dart_codegen/expect/async/stream_controller.dart View 6 chunks +15 lines, -15 lines 0 comments Download
M test/dart_codegen/expect/async/stream_impl.dart View 11 chunks +27 lines, -27 lines 0 comments Download
M test/dart_codegen/expect/async/stream_pipe.dart View 2 chunks +6 lines, -6 lines 0 comments Download
M test/dart_codegen/expect/async/stream_transformers.dart View 4 chunks +18 lines, -18 lines 0 comments Download
M test/dart_codegen/expect/async/timer.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M test/dart_codegen/expect/async/zone.dart View 11 chunks +36 lines, -36 lines 0 comments Download
M test/dart_codegen/expect/collection/iterable.dart View 8 chunks +9 lines, -9 lines 0 comments Download
M test/dart_codegen/expect/collection/list.dart View 7 chunks +22 lines, -22 lines 0 comments Download
M test/dart_codegen/expect/collection/maps.dart View 1 chunk +6 lines, -6 lines 0 comments Download
M test/dart_codegen/expect/collection/queue.dart View 10 chunks +13 lines, -13 lines 0 comments Download
M test/dart_codegen/expect/collection/set.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M test/dart_codegen/expect/collection/splay_tree.dart View 15 chunks +33 lines, -33 lines 0 comments Download
M test/dart_codegen/expect/core/errors.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M test/dart_codegen/expect/core/exceptions.dart View 4 chunks +4 lines, -4 lines 0 comments Download
M test/dart_codegen/expect/core/iterable.dart View 3 chunks +4 lines, -4 lines 0 comments Download
M test/dart_codegen/expect/core/stopwatch.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/dart_codegen/expect/core/string.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/dart_codegen/expect/core/uri.dart View 15 chunks +28 lines, -28 lines 0 comments Download
M test/runtime/dart_runtime_test.dart View 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 7 (1 generated)
vsm
5 years, 9 months ago (2015-03-03 18:55:23 UTC) #2
Jennifer Messerly
"looks good" feels like the wrong comment :) but code changes lgtm. https://codereview.chromium.org/977613002/diff/20001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart ...
5 years, 9 months ago (2015-03-03 19:14:31 UTC) #3
vsm
PTAL Tighten this up a little bit by looking at JS type. https://codereview.chromium.org/977613002/diff/20001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart ...
5 years, 9 months ago (2015-03-03 19:29:42 UTC) #4
vsm
On 2015/03/03 19:29:42, vsm wrote: > PTAL > > Tighten this up a little bit ...
5 years, 9 months ago (2015-03-03 20:02:32 UTC) #5
Jennifer Messerly
Still "lgtm" ;-) these new changes are really nice though! https://codereview.chromium.org/977613002/diff/40001/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/977613002/diff/40001/lib/src/codegen/js_codegen.dart#newcode1075 ...
5 years, 9 months ago (2015-03-03 20:05:01 UTC) #6
vsm
5 years, 9 months ago (2015-03-03 20:08:41 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
f51dc255ae83e23e9b705c9d044e5d64edcb8661 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698