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

Issue 1483813002: Use const for const/final top-levels, types, symbols. (Closed)

Created:
5 years ago by ochafik
Modified:
5 years ago
Reviewers:
vsm, Jennifer Messerly
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

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebased after vsm's regen #

Unified diffs Side-by-side diffs Delta from patch set Stats (+925 lines, -921 lines) Patch
M lib/runtime/dart/_interceptors.js View 6 chunks +11 lines, -11 lines 0 comments Download
M lib/runtime/dart/_internal.js View 1 33 chunks +63 lines, -63 lines 0 comments Download
M lib/runtime/dart/_isolate_helper.js View 15 chunks +35 lines, -35 lines 0 comments Download
M lib/runtime/dart/_js_embedded_names.js View 1 chunk +31 lines, -31 lines 0 comments Download
M lib/runtime/dart/_js_helper.js View 11 chunks +28 lines, -28 lines 0 comments Download
M lib/runtime/dart/_js_mirrors.js View 4 chunks +8 lines, -8 lines 0 comments Download
M lib/runtime/dart/_native_typed_data.js View 3 chunks +17 lines, -17 lines 0 comments Download
M lib/runtime/dart/async.js View 1 83 chunks +284 lines, -284 lines 0 comments Download
M lib/runtime/dart/collection.js View 60 chunks +153 lines, -153 lines 0 comments Download
M lib/runtime/dart/convert.js View 41 chunks +84 lines, -84 lines 0 comments Download
M lib/runtime/dart/core.js View 18 chunks +54 lines, -54 lines 0 comments Download
M lib/runtime/dart/isolate.js View 3 chunks +3 lines, -3 lines 0 comments Download
M lib/runtime/dart/js.js View 1 4 chunks +7 lines, -7 lines 0 comments Download
M lib/runtime/dart/math.js View 7 chunks +18 lines, -18 lines 0 comments Download
M lib/runtime/dart/typed_data.js View 1 chunk +1 line, -1 line 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 6 chunks +9 lines, -6 lines 0 comments Download
M lib/src/js/builder.dart View 4 chunks +5 lines, -4 lines 0 comments Download
M test/codegen/expect/DeltaBlue.js View 2 chunks +10 lines, -10 lines 0 comments Download
M test/codegen/expect/async_helper.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/async_helper/async_helper.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/cascade.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/closure.js View 2 chunks +3 lines, -3 lines 0 comments Download
M test/codegen/expect/collection/algorithms.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/collection/iterable_zip.js View 2 chunks +3 lines, -3 lines 0 comments Download
M test/codegen/expect/collection/priority_queue.js View 1 2 chunks +12 lines, -12 lines 0 comments Download
M test/codegen/expect/collection/src/canonicalized_map.js View 1 chunk +5 lines, -5 lines 0 comments Download
M test/codegen/expect/collection/src/queue_list.js View 1 chunk +8 lines, -8 lines 0 comments Download
M test/codegen/expect/collection/src/unmodifiable_wrappers.js View 5 chunks +6 lines, -6 lines 0 comments Download
M test/codegen/expect/collection/src/utils.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/collection/wrappers.js View 1 9 chunks +16 lines, -16 lines 0 comments Download
M test/codegen/expect/constructors.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/covariance.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen/expect/dom/dom.js View 2 chunks +6 lines, -6 lines 0 comments Download
M test/codegen/expect/expect.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen/expect/expect/expect.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen/expect/fieldtest.js View 2 chunks +2 lines, -2 lines 0 comments Download
M test/codegen/expect/functions.js View 1 chunk +2 lines, -2 lines 0 comments Download
M test/codegen/expect/js/js.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/js/src/varargs.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/methods.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/misc.js View 2 chunks +4 lines, -4 lines 0 comments Download
M test/codegen/expect/names.js View 1 chunk +1 line, -1 line 0 comments Download
M test/codegen/expect/sunflower/dom.js View 2 chunks +6 lines, -6 lines 0 comments Download
M test/codegen/expect/sunflower/painter.js View 1 chunk +4 lines, -4 lines 0 comments Download
M test/codegen/expect/sunflower/sunflower.js View 1 chunk +5 lines, -5 lines 0 comments Download
M test/codegen/expect/temps.js View 2 chunks +4 lines, -4 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

Messages

Total messages: 9 (2 generated)
ochafik
Hey guys, what do you think of trading let for const where appropriate?
5 years ago (2015-11-29 14:24:53 UTC) #2
vsm
I don't have a strong opinion on this. It's unfortunately a minor increase in code ...
5 years ago (2015-11-30 16:34:23 UTC) #3
Jennifer Messerly
Well I'm biased but I think we should do it :). This will fix https://github.com/dart-lang/dev_compiler/issues/156. ...
5 years ago (2015-11-30 16:38:52 UTC) #4
Jennifer Messerly
definitely worth checking what's up with sdk_expected_errors. Otherwise LGTM!
5 years ago (2015-11-30 16:39:52 UTC) #5
vsm
On 2015/11/30 16:39:52, John Messerly wrote: > definitely worth checking what's up with sdk_expected_errors. Otherwise ...
5 years ago (2015-11-30 16:42:12 UTC) #6
ochafik
On 2015/11/30 16:34:23, vsm wrote: > I don't have a strong opinion on this. It's ...
5 years ago (2015-12-01 01:04:28 UTC) #7
ochafik
5 years ago (2015-12-01 01:06:18 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
87c73d0365a790828078f6379ce418abc28dbad9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698