Chromium Code Reviews| Index: sdk/lib/internal/symbol.dart |
| diff --git a/sdk/lib/internal/symbol.dart b/sdk/lib/internal/symbol.dart |
| index 64fcdb389118bfa0585010508800802e89da92c5..73e702377d19b3de16de0c48da5f961a6806b9c2 100644 |
| --- a/sdk/lib/internal/symbol.dart |
| +++ b/sdk/lib/internal/symbol.dart |
| @@ -114,7 +114,7 @@ class Symbol implements core.Symbol { |
| external int get hashCode; |
| - toString() => 'Symbol("$_name")'; |
| + external toString(); |
|
hausner
2016/12/14 23:35:40
Why is it necessary to patch toString()? Isn't the
Siggi Cherem (dart-lang)
2016/12/15 00:31:46
It seems like the vm was patching it with some ext
Lasse Reichstein Nielsen
2016/12/15 07:55:41
That's http://dartbug.com/13596 - the VM isn't val
|
| /// Platform-private accessor which cannot be called from user libraries. |
| static String getName(Symbol symbol) => symbol._name; |