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

Issue 2561723003: Merge kernel closure conversion into the Dart SDK (Closed)

Created:
4 years ago by karlklose
Modified:
4 years ago
Reviewers:
asgerf, ahe
CC:
reviews_dartlang.org, Kevin Millikin (Google)
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Merge kernel closure conversion into the Dart SDK This is the result of: - taking the diff of the branch closure_conversion to master in the kernel repository - updating the file paths - applying the diff to the Dart SDK - fixing conflicts between the changes to pkg/kernel in the Dart SDK and the master branch in the kernel repository R=asgerf@google.com Committed: https://github.com/dart-lang/sdk/commit/ff99a0ce59e31e30f1903e3df76a4fd24990ee48

Patch Set 1 #

Patch Set 2 : Merge pubspec.yaml #

Patch Set 3 : Skip test on debug #

Patch Set 4 : Remove FunctionNode #

Patch Set 5 : Also restrict the test to linux for now #

Total comments: 5

Patch Set 6 : Move tests, apply dartfmt, and make strong mode clean #

Patch Set 7 : Remove path constraint #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3400 lines, -66 lines) Patch
M .packages View 1 chunk +1 line, -0 lines 0 comments Download
M DEPS View 1 2 3 4 5 3 chunks +5 lines, -0 lines 0 comments Download
M pkg/kernel/bin/batch_util.dart View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M pkg/kernel/bin/transform.dart View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M pkg/kernel/lib/ast.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/kernel/lib/binary/ast_from_binary.dart View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M pkg/kernel/lib/class_hierarchy.dart View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M pkg/kernel/lib/clone.dart View 1 chunk +3 lines, -1 line 0 comments Download
M pkg/kernel/lib/frontend/super_initializers.dart View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/kernel/lib/kernel.dart View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M pkg/kernel/lib/transformations/async.dart View 1 2 3 4 5 12 chunks +35 lines, -36 lines 0 comments Download
A pkg/kernel/lib/transformations/closure/clone_without_body.dart View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
A pkg/kernel/lib/transformations/closure/context.dart View 1 2 3 4 5 1 chunk +248 lines, -0 lines 0 comments Download
A pkg/kernel/lib/transformations/closure/converter.dart View 1 2 3 4 5 1 chunk +792 lines, -0 lines 0 comments Download
A pkg/kernel/lib/transformations/closure/info.dart View 1 2 3 4 5 1 chunk +206 lines, -0 lines 0 comments Download
A pkg/kernel/lib/transformations/closure/mock.dart View 1 2 3 4 5 1 chunk +188 lines, -0 lines 0 comments Download
A pkg/kernel/lib/transformations/closure_conversion.dart View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
M pkg/kernel/lib/type_propagation/canonicalizer.dart View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/kernel/lib/type_propagation/type_propagation.dart View 1 2 3 4 5 1 chunk +6 lines, -1 line 0 comments Download
M pkg/kernel/lib/visitor.dart View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M pkg/kernel/pubspec.yaml View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M pkg/kernel/test/class_hierarchy_basic.dart View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M pkg/kernel/test/class_hierarchy_membench.dart View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M pkg/kernel/test/class_hierarchy_tester.dart View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
A pkg/kernel/test/closures/kernel_chain.dart View 1 2 3 4 5 1 chunk +199 lines, -0 lines 0 comments Download
A pkg/kernel/test/closures/suite.dart View 1 2 3 4 5 1 chunk +193 lines, -0 lines 0 comments Download
A pkg/kernel/test/closures/testing.json View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A pkg/kernel/test/closures_test.dart View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M pkg/kernel/test/round_trip.dart View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M pkg/kernel/test/treeshaker_membench.dart View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M pkg/kernel/test/type_propagation_dump.dart View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M pkg/kernel/test/type_propagation_selfcheck.dart View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M pkg/kernel/test/type_unification_test.dart View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/kernel/test/uint31_pair_map_bench.dart View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
A pkg/kernel/testcases/closures/README.md View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/capture_closure.dart View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/capture_closure.dart.expect View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/capture_closure_parameter.dart View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/capture_closure_parameter.dart.expect View 1 2 3 4 5 1 chunk +37 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/capture_this.dart View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/capture_this.dart.expect View 1 2 3 4 5 1 chunk +69 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/catch.dart View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/catch.dart.expect View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/closures.dart View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/closures.dart.expect View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/field.dart View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/field.dart.expect View 1 2 3 4 5 1 chunk +82 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/for_in_closure.dart View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/for_in_closure.dart.expect View 1 2 3 4 5 1 chunk +37 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/for_loop.dart View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/for_loop.dart.expect View 1 2 3 4 5 1 chunk +58 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/for_variable_capture_test.dart View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/for_variable_capture_test.dart.expect View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/instance_tear_off.dart View 1 2 3 4 5 1 chunk +65 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/instance_tear_off.dart.expect View 1 2 3 4 5 1 chunk +302 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/named_closure.dart View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/named_closure.dart.expect View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/non_void_context.dart View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/non_void_context.dart.expect View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/static_tear_off.dart View 1 2 3 4 5 1 chunk +48 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/static_tear_off.dart.expect View 1 2 3 4 5 1 chunk +84 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/type_variables.dart View 1 2 3 4 5 1 chunk +39 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/type_variables.dart.expect View 1 2 3 4 5 1 chunk +88 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/uncaptured_for_in_loop.dart View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
A pkg/kernel/testcases/closures/uncaptured_for_in_loop.dart.expect View 1 2 3 4 5 1 chunk +35 lines, -0 lines 0 comments Download
M pkg/pkg.status View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
karlklose
4 years ago (2016-12-09 08:01:52 UTC) #2
asgerf
Sorry, I should have mentioned this the other day, but I would really like the ...
4 years ago (2016-12-09 10:57:58 UTC) #3
karlklose
PTAL Please note that I used dartfmt from 1.22.0-dev.1.0, which changed a few files I ...
4 years ago (2016-12-15 07:54:19 UTC) #4
asgerf
LGTM
4 years ago (2016-12-15 08:56:07 UTC) #5
karlklose
4 years ago (2016-12-15 09:16:28 UTC) #7
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
ff99a0ce59e31e30f1903e3df76a4fd24990ee48 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698