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

Issue 9866007: leg pad (similar to frogpad, but for leg) (Closed)

Created:
8 years, 9 months ago by mattsh
Modified:
8 years, 9 months ago
Reviewers:
ahe, floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

add legpad BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=5860

Patch Set 1 #

Patch Set 2 : small fixes #

Total comments: 15

Patch Set 3 : fixed comments #

Total comments: 2

Patch Set 4 : code review fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -0 lines) Patch
A tools/testing/legpad/legpad.dart View 1 2 3 1 chunk +117 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
mattsh
This enables us to run dart2js in the browser (which makes it easy to step ...
8 years, 9 months ago (2012-03-26 21:29:44 UTC) #1
floitsch
LGTM. https://chromiumcodereview.appspot.com/9866007/diff/2001/tools/testing/legpad/legpad.dart File tools/testing/legpad/legpad.dart (right): https://chromiumcodereview.appspot.com/9866007/diff/2001/tools/testing/legpad/legpad.dart#newcode24 tools/testing/legpad/legpad.dart:24: // id of script element containing name of ...
8 years, 9 months ago (2012-03-26 22:07:05 UTC) #2
ahe
I'll take a closer look tomorrow. I think you found a sharp corner that needs ...
8 years, 9 months ago (2012-03-26 22:22:06 UTC) #3
mattsh
8 years, 9 months ago (2012-03-27 02:30:25 UTC) #4
https://chromiumcodereview.appspot.com/9866007/diff/2001/tools/testing/legpad...
File tools/testing/legpad/legpad.dart (right):

https://chromiumcodereview.appspot.com/9866007/diff/2001/tools/testing/legpad...
tools/testing/legpad/legpad.dart:25: // to compile
On 2012/03/26 22:07:05, floitsch wrote:
> Unless I'm wrong this is the Id of the script element that contains the code
> that should be compiled (no files involved).

(just chatted offline, yes, this is in fact the file name)

https://chromiumcodereview.appspot.com/9866007/diff/2001/tools/testing/legpad...
tools/testing/legpad/legpad.dart:29: String warnings = "";
On 2012/03/26 22:07:05, floitsch wrote:
> Make it a StringBuffer?

Done.

https://chromiumcodereview.appspot.com/9866007/diff/2001/tools/testing/legpad...
tools/testing/legpad/legpad.dart:35: // TODO - currently leg is confused about
where these two files
On 2012/03/26 22:07:05, floitsch wrote:
> TODO(ldap) or TODO(issue-number). Followed by ":".

Done.

https://chromiumcodereview.appspot.com/9866007/diff/2001/tools/testing/legpad...
tools/testing/legpad/legpad.dart:92: output = futureJavascript.value;
On 2012/03/26 22:07:05, floitsch wrote:
> You can't assume that the future has completed.
> Either pass in a closure to runLeg, or return the future and let 'go' register
> the 'then' part.

added TODO for compiler to add synchronous API.

https://chromiumcodereview.appspot.com/9866007/diff/2001/tools/testing/legpad...
tools/testing/legpad/legpad.dart:111: // TODO: should exist in standard lib
somewhere
On 2012/03/26 22:07:05, floitsch wrote:
> TODO(ldap)

Done.

Powered by Google App Engine
This is Rietveld 408576698