Index: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart |
diff --git a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart |
index 6f4236c65a8f00db2fbe669bfa4c72b835f1a026..6910248fa3bcff8526195f899d2d468ef48b7517 100644 |
--- a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart |
+++ b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart |
@@ -208,7 +208,7 @@ _toDisplayName(name) => JS( |
Symbol _dartSymbol(name) { |
return (JS('bool', 'typeof # === "symbol"', name)) |
- ? JS('', '#(new #.es6(#, #))', const_, _internal.Symbol, |
+ ? JS('', '#(new #(#, #))', const_, _internal.PrivateSymbol, |
_toSymbolName(name), name) |
: JS('', '#(#.new(#))', const_, Symbol, _toDisplayName(name)); |
} |