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

Issue 362343003: dart2dart: Use implicit 'this' when generating Dart code. (Closed)

Created:
6 years, 5 months ago by asgerf
Modified:
6 years, 5 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

dart2dart: Use implicit 'this' when generating Dart code. Expressions like this.x will be printed simply as x. The renaming phase seems to disambiguate things so x is not captured. BUG= R=sigurdm@google.com Committed: https://code.google.com/p/dart/source/detail?r=37975

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed test case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -6 lines) Patch
M sdk/lib/_internal/compiler/implementation/dart_backend/dart_tree.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart_backend/dart_tree_printer.dart View 2 chunks +8 lines, -4 lines 0 comments Download
A tests/language/rewrite_implicit_this_test.dart View 1 1 chunk +107 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
asgerf
6 years, 5 months ago (2014-07-02 14:19:44 UTC) #1
sigurdm
lgtm https://codereview.chromium.org/362343003/diff/1/tests/language/rewrite_implicit_this_test.dart File tests/language/rewrite_implicit_this_test.dart (right): https://codereview.chromium.org/362343003/diff/1/tests/language/rewrite_implicit_this_test.dart#newcode10 tests/language/rewrite_implicit_this_test.dart:10: int x = 'x'; var x = 'x'; ...
6 years, 5 months ago (2014-07-03 07:48:12 UTC) #2
asgerf
6 years, 5 months ago (2014-07-03 08:06:27 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 manually as r37975 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698