- Fix use of String operator + in core libraries.

Previously reviewed as part of https://chromiumcodereview.appspot.com/9690003
Review URL: https://chromiumcodereview.appspot.com//9730009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5656 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
iposva@google.com 2012-03-19 19:42:29 +00:00
parent 7c43fbb9a3
commit d402068134
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@
*
* Future<int> future = getFutureFromSomewhere();
* future.then((value) {
* print("I received the number " + value);
* print("I received the number $value");
* });
*/
interface Future<T> default FutureImpl<T> {

View file

@ -12,7 +12,7 @@ class AssertionError {
static _throwNew(int assertionStart, int assertionEnd)
native "AssertionError_throwNew";
String toString() {
return "'$url': Failed assertion: line $line pos $column: " +
return "'$url': Failed assertion: line $line pos $column: "
"'$failedAssertion' is not true.";
}
final String failedAssertion;
@ -74,7 +74,7 @@ class StaticResolutionException implements Exception {
"StaticResolutionException can only be allocated by the VM");
}
String toString() => "Unresolved static method: url '$url' line $line " +
String toString() => "Unresolved static method: url '$url' line $line "
"pos $column\n$failedResolutionLine\n";
static _throwNew(int token_pos) native "StaticResolutionException_throwNew";