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

Issue 1752193002: Add a few more known non-null cases (Closed)

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

Description

Add a few more known non-null cases Improves handling of identifiers and known elements, the `identical` function, and generative constructors. R=ochafik@google.com, vsm@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/82ebf76c4eca61bce4697ba2b7d2fb0132a0fdf6

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -165 lines) Patch
M lib/runtime/dart/_debugger.js View 1 chunk +1 line, -1 line 0 comments Download
M lib/runtime/dart/_internal.js View 5 chunks +6 lines, -6 lines 0 comments Download
M lib/runtime/dart/_isolate_helper.js View 3 chunks +3 lines, -3 lines 0 comments Download
M lib/runtime/dart/_js_helper.js View 4 chunks +4 lines, -4 lines 0 comments Download
M lib/runtime/dart/async.js View 31 chunks +38 lines, -38 lines 0 comments Download
M lib/runtime/dart/collection.js View 24 chunks +30 lines, -30 lines 0 comments Download
M lib/runtime/dart/convert.js View 7 chunks +8 lines, -8 lines 0 comments Download
M lib/runtime/dart/core.js View 10 chunks +11 lines, -11 lines 0 comments Download
M lib/runtime/dart/html.js View 10 chunks +11 lines, -11 lines 0 comments Download
M lib/runtime/dart/html_common.js View 1 chunk +1 line, -1 line 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 14 chunks +14 lines, -24 lines 0 comments Download
M lib/src/codegen/nullable_type_inference.dart View 1 2 7 chunks +72 lines, -19 lines 0 comments Download
M test/codegen/expect/expect.js View 2 chunks +2 lines, -2 lines 0 comments Download
M test/codegen/expect/expect/expect.js View 2 chunks +2 lines, -2 lines 0 comments Download
M test/codegen/expect/language-all.js View Binary file 0 comments Download
M test/codegen/expect/methods.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen/expect/notnull.js View 1 3 chunks +17 lines, -0 lines 0 comments Download
M test/codegen/expect/unittest.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/unittest/unittest.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/notnull.dart View 1 3 chunks +16 lines, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
Jennifer Messerly
4 years, 9 months ago (2016-03-02 01:11:05 UTC) #4
ochafik
Thanks a lot John, lgtm! https://codereview.chromium.org/1752193002/diff/1/lib/src/codegen/nullable_type_inference.dart File lib/src/codegen/nullable_type_inference.dart (right): https://codereview.chromium.org/1752193002/diff/1/lib/src/codegen/nullable_type_inference.dart#newcode110 lib/src/codegen/nullable_type_inference.dart:110: if (e.library.source.isInSystemLibrary) return false; ...
4 years, 9 months ago (2016-03-02 02:04:53 UTC) #5
Jennifer Messerly
https://codereview.chromium.org/1752193002/diff/1/lib/src/codegen/nullable_type_inference.dart File lib/src/codegen/nullable_type_inference.dart (right): https://codereview.chromium.org/1752193002/diff/1/lib/src/codegen/nullable_type_inference.dart#newcode87 lib/src/codegen/nullable_type_inference.dart:87: if (expr is CascadeExpression) return false; Vijay pointed out ...
4 years, 9 months ago (2016-03-02 17:11:52 UTC) #6
Jennifer Messerly
Thanks Olivier! @Vijay -- I fixed the issue from the previous CL about cascades, if ...
4 years, 9 months ago (2016-03-02 20:50:57 UTC) #7
vsm
https://codereview.chromium.org/1752193002/diff/20001/lib/src/codegen/nullable_type_inference.dart File lib/src/codegen/nullable_type_inference.dart (right): https://codereview.chromium.org/1752193002/diff/20001/lib/src/codegen/nullable_type_inference.dart#newcode99 lib/src/codegen/nullable_type_inference.dart:99: if (e == null || isObjectProperty(e.name)) { Shouldn't this ...
4 years, 9 months ago (2016-03-02 21:06:54 UTC) #8
Jennifer Messerly
https://codereview.chromium.org/1752193002/diff/20001/lib/src/codegen/nullable_type_inference.dart File lib/src/codegen/nullable_type_inference.dart (right): https://codereview.chromium.org/1752193002/diff/20001/lib/src/codegen/nullable_type_inference.dart#newcode99 lib/src/codegen/nullable_type_inference.dart:99: if (e == null || isObjectProperty(e.name)) { On 2016/03/02 ...
4 years, 9 months ago (2016-03-02 21:16:30 UTC) #9
vsm
On 2016/03/02 21:16:30, John Messerly wrote: > https://codereview.chromium.org/1752193002/diff/20001/lib/src/codegen/nullable_type_inference.dart > File lib/src/codegen/nullable_type_inference.dart (right): > > https://codereview.chromium.org/1752193002/diff/20001/lib/src/codegen/nullable_type_inference.dart#newcode99 ...
4 years, 9 months ago (2016-03-02 21:20:26 UTC) #10
Jennifer Messerly
https://codereview.chromium.org/1752193002/diff/20001/lib/src/codegen/nullable_type_inference.dart File lib/src/codegen/nullable_type_inference.dart (right): https://codereview.chromium.org/1752193002/diff/20001/lib/src/codegen/nullable_type_inference.dart#newcode99 lib/src/codegen/nullable_type_inference.dart:99: if (e == null || isObjectProperty(e.name)) { On 2016/03/02 ...
4 years, 9 months ago (2016-03-02 21:27:08 UTC) #11
Jennifer Messerly
4 years, 9 months ago (2016-03-02 21:32:32 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
82ebf76c4eca61bce4697ba2b7d2fb0132a0fdf6 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698