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

Issue 10917298: [dart2dart] Cut declaration types by default if we check that it is safe to do so. (Closed)

Created:
8 years, 3 months ago by Roman
Modified:
8 years, 3 months ago
Reviewers:
Anton Muhin
CC:
reviews_dartlang.org
Visibility:
Public.

Description

[dart2dart] Cut declaration types by default if we check that it is safe to do so. Committed: https://code.google.com/p/dart/source/detail?r=12560

Patch Set 1 #

Total comments: 13

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -4 lines) Patch
M lib/compiler/implementation/dart_backend/backend.dart View 1 2 3 2 chunks +70 lines, -2 lines 0 comments Download
M lib/compiler/implementation/dart_backend/placeholder_collector.dart View 1 2 3 4 2 chunks +11 lines, -1 line 0 comments Download
M tests/co19/co19-dart2js.status View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/unparser_test.dart View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Roman
8 years, 3 months ago (2012-09-17 17:06:52 UTC) #1
Anton Muhin
https://codereview.chromium.org/10917298/diff/1/lib/compiler/implementation/dart_backend/backend.dart File lib/compiler/implementation/dart_backend/backend.dart (right): https://codereview.chromium.org/10917298/diff/1/lib/compiler/implementation/dart_backend/backend.dart#newcode93 lib/compiler/implementation/dart_backend/backend.dart:93: * Tells whether it is safe to remove type ...
8 years, 3 months ago (2012-09-17 18:45:15 UTC) #2
Roman
https://codereview.chromium.org/10917298/diff/1/lib/compiler/implementation/dart_backend/backend.dart File lib/compiler/implementation/dart_backend/backend.dart (right): https://codereview.chromium.org/10917298/diff/1/lib/compiler/implementation/dart_backend/backend.dart#newcode93 lib/compiler/implementation/dart_backend/backend.dart:93: * Tells whether it is safe to remove type ...
8 years, 3 months ago (2012-09-18 10:24:08 UTC) #3
Anton Muhin
LGTM, but test would be nice to have https://codereview.chromium.org/10917298/diff/1/lib/compiler/implementation/dart_backend/backend.dart File lib/compiler/implementation/dart_backend/backend.dart (right): https://codereview.chromium.org/10917298/diff/1/lib/compiler/implementation/dart_backend/backend.dart#newcode121 lib/compiler/implementation/dart_backend/backend.dart:121: workQueue.add(argumentType); ...
8 years, 3 months ago (2012-09-18 10:27:02 UTC) #4
Roman
The changes are covered with language tests and unparser tests. I also made some more ...
8 years, 3 months ago (2012-09-18 13:12:21 UTC) #5
Anton Muhin
lgtm https://codereview.chromium.org/10917298/diff/10001/lib/compiler/implementation/dart_backend/placeholder_collector.dart File lib/compiler/implementation/dart_backend/placeholder_collector.dart (right): https://codereview.chromium.org/10917298/diff/10001/lib/compiler/implementation/dart_backend/placeholder_collector.dart#newcode520 lib/compiler/implementation/dart_backend/placeholder_collector.dart:520: // Make sure we don't omit return type ...
8 years, 3 months ago (2012-09-19 06:51:37 UTC) #6
Roman
8 years, 3 months ago (2012-09-19 09:17:34 UTC) #7
https://codereview.chromium.org/10917298/diff/10001/lib/compiler/implementati...
File lib/compiler/implementation/dart_backend/placeholder_collector.dart
(right):

https://codereview.chromium.org/10917298/diff/10001/lib/compiler/implementati...
lib/compiler/implementation/dart_backend/placeholder_collector.dart:520: // Make
sure we don't omit return type of methods which names are
On 2012/09/19 06:51:37, Anton Muhin wrote:
> TODO to change that and bug against VM?

http://code.google.com/p/dart/issues/detail?id=5278

Powered by Google App Engine
This is Rietveld 408576698