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

Issue 959003003: Typecheck constructor initializers properly (Closed)

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

Total comments: 4

Patch Set 2 : More tests and cases #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+743 lines, -437 lines) Patch
M lib/src/checker/checker.dart View 1 2 chunks +39 lines, -0 lines 0 comments Download
M lib/src/checker/dart_sdk.dart View 1 1 chunk +4 lines, -1 line 0 comments Download
M lib/src/info.dart View 1 1 chunk +10 lines, -0 lines 0 comments Download
M test/checker/checker_test.dart View 1 1 chunk +36 lines, -0 lines 0 comments Download
M test/codegen/expect/_internal/_internal.js View 1 9 chunks +13 lines, -13 lines 0 comments Download
M test/codegen/expect/async/async.js View 1 12 chunks +28 lines, -28 lines 0 comments Download
M test/codegen/expect/collection/collection.js View 1 12 chunks +14 lines, -14 lines 0 comments Download
M test/codegen/expect/convert/convert.js View 1 9 chunks +11 lines, -11 lines 0 comments Download
M test/codegen/expect/core/core.js View 1 8 chunks +10 lines, -10 lines 0 comments Download
M test/codegen/expect/math/math.js View 1 6 chunks +12 lines, -12 lines 0 comments Download
M test/codegen/expect/typed_data/typed_data.js View 1 1 chunk +1 line, -1 line 0 comments Download
M test/dart_codegen/expect/_internal/iterable.dart View 1 2 17 chunks +82 lines, -28 lines 0 comments Download
M test/dart_codegen/expect/_internal/list.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/dart_codegen/expect/async/future_impl.dart View 1 4 chunks +13 lines, -7 lines 0 comments Download
M test/dart_codegen/expect/async/schedule_microtask.dart View 1 2 chunks +4 lines, -3 lines 0 comments Download
M test/dart_codegen/expect/async/stream.dart View 1 20 chunks +119 lines, -63 lines 0 comments Download
M test/dart_codegen/expect/async/stream_controller.dart View 1 6 chunks +19 lines, -12 lines 0 comments Download
M test/dart_codegen/expect/async/stream_impl.dart View 1 11 chunks +31 lines, -23 lines 0 comments Download
M test/dart_codegen/expect/async/stream_pipe.dart View 1 2 chunks +10 lines, -2 lines 0 comments Download
M test/dart_codegen/expect/async/stream_transformers.dart View 1 3 chunks +30 lines, -10 lines 0 comments Download
M test/dart_codegen/expect/async/timer.dart View 1 2 chunks +4 lines, -4 lines 0 comments Download
M test/dart_codegen/expect/async/zone.dart View 1 12 chunks +37 lines, -24 lines 0 comments Download
M test/dart_codegen/expect/collection/list.dart View 1 2 6 chunks +25 lines, -17 lines 0 comments Download
M test/dart_codegen/expect/collection/maps.dart View 1 1 chunk +6 lines, -6 lines 0 comments Download
M test/dart_codegen/expect/collection/queue.dart View 1 2 10 chunks +13 lines, -13 lines 0 comments Download
M test/dart_codegen/expect/collection/set.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M test/dart_codegen/expect/collection/splay_tree.dart View 1 15 chunks +35 lines, -27 lines 0 comments Download
M test/dart_codegen/expect/convert/ascii.dart View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M test/dart_codegen/expect/convert/byte_conversion.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M test/dart_codegen/expect/convert/html_escape.dart View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M test/dart_codegen/expect/convert/json.dart View 1 2 14 chunks +36 lines, -26 lines 0 comments Download
M test/dart_codegen/expect/convert/latin1.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/dart_codegen/expect/convert/line_splitter.dart View 1 1 chunk +3 lines, -1 line 0 comments Download
M test/dart_codegen/expect/convert/string_conversion.dart View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M test/dart_codegen/expect/convert/utf.dart View 1 2 2 chunks +7 lines, -5 lines 0 comments Download
M test/dart_codegen/expect/core/errors.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M test/dart_codegen/expect/core/exceptions.dart View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M test/dart_codegen/expect/core/iterable.dart View 1 3 chunks +5 lines, -2 lines 0 comments Download
M test/dart_codegen/expect/core/stopwatch.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M test/dart_codegen/expect/core/string.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M test/dart_codegen/expect/core/uri.dart View 1 2 17 chunks +35 lines, -31 lines 0 comments Download
M test/dart_codegen/expect/math/point.dart View 1 2 chunks +4 lines, -4 lines 0 comments Download
M test/dart_codegen/expect/math/rectangle.dart View 1 6 chunks +18 lines, -18 lines 0 comments Download
M test/dart_codegen/expect/typed_data/typed_data View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
vsm
5 years, 10 months ago (2015-02-26 21:27:08 UTC) #2
Leaf
Couple comments, but basically lgtm. https://codereview.chromium.org/959003003/diff/1/lib/src/checker/checker.dart File lib/src/checker/checker.dart (right): https://codereview.chromium.org/959003003/diff/1/lib/src/checker/checker.dart#newcode384 lib/src/checker/checker.dart:384: } A little surprising ...
5 years, 10 months ago (2015-02-26 22:00:16 UTC) #3
vsm
PTAL Added fix for the test you suggested along with constructor invocation checking. https://codereview.chromium.org/959003003/diff/1/lib/src/checker/checker.dart File ...
5 years, 10 months ago (2015-02-26 23:55:48 UTC) #4
Leaf
lgtm
5 years, 10 months ago (2015-02-27 00:13:05 UTC) #5
vsm
5 years, 10 months ago (2015-02-27 00:19:36 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
4ba5eb736224f6e34abe230c5319100dac1dd21e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698