dart-sdk/tools/dom
sra@google.com 8bed532218 Tweak toString() for better type inference
These changes ensure dart2js can infer toString() returns a non-null String on some of our samples.

One tactic is to always write toString method for which all returned expressions are a an interpolation (or literal), or a call to StringBuffer.toString.

R=alanknight@google.com, lrn@google.com

Review URL: https://codereview.chromium.org//895813002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43534 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 00:24:51 +00:00
..
docs Move dart2js from sdk/lib/_internal/compiler to pkg/compiler 2014-11-05 08:51:01 +00:00
idl/dart Reapply "Stop suppressing generation of bindings with Promise. Add some tests for DOM APIs that answer promises." 2014-10-20 18:27:03 +00:00
new_scripts Begin hookup of Blink IDL parser for dart:* libraries. 2014-09-09 13:18:24 +00:00
scripts Tweak toString() for better type inference 2015-02-06 00:24:51 +00:00
src Add type annotations to some dart:html closures 2015-01-30 23:08:39 +00:00
templates Tweak toString() for better type inference 2015-02-06 00:24:51 +00:00
.gitignore Moved most of html lib generating scripts into tools. 2012-12-28 22:26:48 +00:00
dom.json More dart:html and dart:blink tweaks 2014-10-24 17:47:14 +00:00
dom.py Renamed contains in the rectangle class to containsRectangle. 2013-10-24 20:27:22 +00:00
PRESUBMIT.py Put in a teardown for the docs test, fixed dom.py to actually run it correctly. 2013-04-02 21:14:09 +00:00