Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(214)

Issue 7802046: Fix issue 223, CloneTreeTransformation fails on trees with empty lists Add transformList() and retu… (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by johnjbarton
Modified:
13 years, 1 month ago
Reviewers:
arv
CC:
traceur-compiler-reviews_googlegroups.com
Base URL:
https://code.google.com/p/traceur-compiler/@master
Visibility:
Public.

Description

Fix issue 223, CloneTreeTransformation fails on trees with empty lists Add transformList() and return new array of the list is empty, since this another example of a leaf of the AST BUG=https://code.google.com/p/traceur-compiler/issues/detail?id=223

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M bin/traceur.js View 1 chunk +7 lines, -0 lines 0 comments Download
M src/codegeneration/CloneTreeTransformer.js View 1 chunk +12 lines, -0 lines 1 comment Download

Messages

Total messages: 1
arv
13 years, 2 months ago (2013-03-24 13:17:35 UTC) #1
https://codereview.appspot.com/7802046/diff/1/src/codegeneration/CloneTreeTra...
File src/codegeneration/CloneTreeTransformer.js (right):

https://codereview.appspot.com/7802046/diff/1/src/codegeneration/CloneTreeTra...
src/codegeneration/CloneTreeTransformer.js:130: if (list == null || list.length
== 0) {
If list is null, should we not return null then?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b