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

Issue 10543051: Fix unparse for empty initializer or conditionStatement. (Closed)

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

Description

Fix unparse for empty initializer or conditionStatement. R=ahe@google.com,smok@google.com Committed: https://code.google.com/p/dart/source/detail?r=8665

Patch Set 1 #

Total comments: 1

Patch Set 2 : Improved version #

Patch Set 3 : Better version #

Total comments: 1

Patch Set 4 : Add a test #

Patch Set 5 : Rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M frog/tests/leg/unparser_test.dart View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M lib/compiler/implementation/tree/unparser.dart View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Anton Muhin
8 years, 6 months ago (2012-06-07 15:30:49 UTC) #1
Anton Muhin
https://chromiumcodereview.appspot.com/10543051/diff/1/lib/compiler/implementation/tree/unparser.dart File lib/compiler/implementation/tree/unparser.dart (right): https://chromiumcodereview.appspot.com/10543051/diff/1/lib/compiler/implementation/tree/unparser.dart#newcode79 lib/compiler/implementation/tree/unparser.dart:79: visitPart(part) { another option would be to yield empty ...
8 years, 6 months ago (2012-06-07 15:31:29 UTC) #2
Anton Muhin
https://chromiumcodereview.appspot.com/10543051/diff/7001/lib/compiler/implementation/tree/unparser.dart File lib/compiler/implementation/tree/unparser.dart (right): https://chromiumcodereview.appspot.com/10543051/diff/7001/lib/compiler/implementation/tree/unparser.dart#newcode80 lib/compiler/implementation/tree/unparser.dart:80: if (node.initializer is !Statement) sb.add(';'); I think it's the ...
8 years, 6 months ago (2012-06-07 15:40:21 UTC) #3
ahe
I'm having a hard time understanding these fixes without seeing what is failing. Could you ...
8 years, 6 months ago (2012-06-08 07:35:03 UTC) #4
ahe
8 years, 6 months ago (2012-06-14 15:14:44 UTC) #5
ahe
8 years, 6 months ago (2012-06-14 15:14:50 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698