This commit is contained in:
dcode
2019-03-14 09:22:20 +01:00
parent ea43f9f2d0
commit cdf3e2cf12
5 changed files with 98 additions and 67 deletions

View File

@ -12,7 +12,11 @@ var idToString: Map<usize, string>;
@lazy
var nextId: usize = 12; // Symbol.unscopables + 1
@unmanaged abstract class _Symbol {
@unmanaged @sealed abstract class _Symbol {
// TODO: all of the following default symbols are unused currently yet add to
// binary size if #toString becomes compiled. Ultimately we'll most likely want
// to remove the unsupported ones and only keep what's actually supported.
// @ts-ignore: decorator
@lazy