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

Issue 1948563002: allow 'super' in async and finally blocks (Closed)

Created:
4 years, 7 months ago by Harry Terkelsen
Modified:
4 years, 7 months 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

allow 'super' in async and finally blocks Fixes #499 Fixes #528 R=jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/63d3774000875b7b3aa7553c65c779cdcdc6271d

Patch Set 1 #

Total comments: 12

Patch Set 2 : add tests #

Patch Set 3 : more tests #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -81 lines) Patch
M lib/runtime/dart_sdk.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M lib/src/compiler/code_generator.dart View 1 2 3 4 13 chunks +129 lines, -28 lines 0 comments Download
M lib/src/compiler/source_map_printer.dart View 1 chunk +0 lines, -1 line 0 comments Download
A + test/codegen/language/super_in_async1_test.dart View 1 1 chunk +10 lines, -7 lines 0 comments Download
A + test/codegen/language/super_in_async2_test.dart View 1 1 chunk +11 lines, -7 lines 0 comments Download
A + test/codegen/language/super_in_async3_test.dart View 1 1 chunk +10 lines, -7 lines 0 comments Download
A + test/codegen/language/super_in_async4_test.dart View 1 2 1 chunk +10 lines, -7 lines 0 comments Download
A + test/codegen/language/super_in_async5_test.dart View 1 2 3 1 chunk +10 lines, -7 lines 0 comments Download
A + test/codegen/language/super_in_async6_test.dart View 1 2 3 1 chunk +10 lines, -7 lines 0 comments Download
A + test/codegen/language/super_in_finally_test.dart View 1 2 1 chunk +12 lines, -9 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Harry Terkelsen
4 years, 7 months ago (2016-05-03 17:44:39 UTC) #2
Jennifer Messerly
Really nice! I like how it turned out. Only thing to fix is using symbols ...
4 years, 7 months ago (2016-05-03 18:56:18 UTC) #3
Harry Terkelsen
Thanks John! PTAL https://codereview.chromium.org/1948563002/diff/1/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/1948563002/diff/1/lib/src/compiler/code_generator.dart#newcode2348 lib/src/compiler/code_generator.dart:2348: JS.Expression _emitMethodCall(Expression target, MethodInvocation node) { ...
4 years, 7 months ago (2016-05-05 23:37:35 UTC) #4
Jennifer Messerly
LGTM https://codereview.chromium.org/1948563002/diff/60001/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (left): https://codereview.chromium.org/1948563002/diff/60001/lib/src/compiler/code_generator.dart#oldcode3540 lib/src/compiler/code_generator.dart:3540: /// Shared code for [PrefixedIdentifier] and [PropertyAccess]. just ...
4 years, 7 months ago (2016-05-05 23:50:48 UTC) #5
Harry Terkelsen
https://codereview.chromium.org/1948563002/diff/60001/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (left): https://codereview.chromium.org/1948563002/diff/60001/lib/src/compiler/code_generator.dart#oldcode3540 lib/src/compiler/code_generator.dart:3540: /// Shared code for [PrefixedIdentifier] and [PropertyAccess]. On 2016/05/05 ...
4 years, 7 months ago (2016-05-05 23:58:40 UTC) #6
Harry Terkelsen
4 years, 7 months ago (2016-05-06 00:03:16 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
63d3774000875b7b3aa7553c65c779cdcdc6271d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698