Commit Graph

7 Commits

Author SHA1 Message Date
lrn@google.com 642b7d8a05 Revert "Revert "First step towards having patch files for generic libraries.""
This reapplies r9246 without the (known) bugs.

Review URL: https://chromiumcodereview.appspot.com//10689063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9282 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-02 09:04:42 +00:00
lrn@google.com 83ce2f9f6e Revert "First step towards having patch files for generic libraries."
This reverts commit r9246.

TBR: floitsch

Review URL: https://chromiumcodereview.appspot.com//10689038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9249 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 13:49:13 +00:00
lrn@google.com 1fad321449 First step towards having patch files for generic libraries.
As proof of concept, it patches a non-functional htmlEscape from web.dart.

Still has lots of restrictions:
- Only loads a normal library (no syntax extension to mark patches as
separate from additions). Assumes every element is a patch.
- Only handles top-level functions (probably won't handle getters/setters
or constructors), and not classes.
- Doesn't check that the patched function is marked external (no syntax for
that in the spec yet, doesn't even require it to be abstract).
- Doesn't check that the signature of the patch function matches the original
function.
- Probably won't work for 'coreimpl', as loaded from 'js_helper', since it's not
loaded using the 'dart:' scheme.

Review URL: https://chromiumcodereview.appspot.com//10689036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9246 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 12:32:40 +00:00
ahe@google.com caa708cddb Update dart2js to use diagnostic kinds.
Review URL: https://chromiumcodereview.appspot.com//10579015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8843 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 13:48:13 +00:00
ahe@google.com aece33ecf0 Purge String operator+ from dart2js.
Review URL: https://chromiumcodereview.appspot.com//10407064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7798 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 13:41:33 +00:00
kasperl@google.com 509a727216 Add support for --no-colors to make it easier to integrate dart2js in the editor.
R=ahe@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10331010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7268 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 07:14:34 +00:00
ahe@google.com dc099c4a00 Move frog/leg to lib/compiler/implementation.
Review URL: https://chromiumcodereview.appspot.com//9873021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5926 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 08:54:01 +00:00