Commit Graph

8 Commits

Author SHA1 Message Date
zundel@google.com 7169189529 Update map literal syntax to expect only one type parameter
As of the spec v0.6, the correct syntax is now:
  <V>{"key" : value };
Whereas you used to also specify the key. Added a deprecation warning
for the old syntax.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3606 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 20:21:24 +00:00
jimhug@google.com 42c584b7c4 Revert "Example showing alternate async measurement solution"
This reverts r3473 which was causing several buildbots to go red due to
breaks in swarm tests.

The issue appears to be minor - but the buildbots have been red for too long.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3474 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-21 13:53:40 +00:00
jacobr@google.com c463460ff5 Example showing alternate async measurement solution
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3473 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-21 03:01:15 +00:00
sigmund@google.com d45d3596c5 frog: better errors/warnigns about type annotations in map literals.
Using 2, instead of 1 type arguments is only a warning (this matches the vm)

Review URL: http://codereview.chromium.org//8856004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2189 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 19:10:37 +00:00
sigmund@google.com cb86ec8e6a buildfix: not use type annotation in map literals within htmllib
Review URL: http://codereview.chromium.org//8855001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2187 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 17:43:52 +00:00
sigmund@google.com b0d4e767fc frog: use type annotation in map and list literals
BUG= http://code.google.com/p/dart/issues/detail?id=220 http://code.google.com/p/dart/issues/detail?id=221

Review URL: http://codereview.chromium.org//8849001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2186 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 17:37:00 +00:00
jacobr@google.com 157b35983a Implement measurement using promises
BUG=
TEST=

Review URL: http://codereview.chromium.org//8363040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1050 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-01 23:17:47 +00:00
dgrove@google.com 4bc64b8c2b Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 04:52:33 +00:00