Skip to content

Commit cfe3bb8

Browse files
Merge branch 'master' into sideEffects
Conflicts: tests/baselines/reference/recursiveClassReferenceTest.js.map
2 parents f46cb89 + 4aae41b commit cfe3bb8

File tree

102 files changed

+40863
-6264
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+40863
-6264
lines changed

bin/lib.core.es6.d.ts

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ interface ArrayConstructor {
11641164
}
11651165

11661166
declare var Array: ArrayConstructor;
1167-
declare type PropertyKey = string | number | Symbol;
1167+
declare type PropertyKey = string | number | symbol;
11681168

11691169
interface Symbol {
11701170
/** Returns a string representation of an object. */
@@ -1173,7 +1173,7 @@ interface Symbol {
11731173
/** Returns the primitive value of the specified object. */
11741174
valueOf(): Object;
11751175

1176-
// [Symbol.toStringTag]: string;
1176+
[Symbol.toStringTag]: string;
11771177
}
11781178

11791179
interface SymbolConstructor {
@@ -1186,64 +1186,64 @@ interface SymbolConstructor {
11861186
* Returns a new unique Symbol value.
11871187
* @param description Description of the new Symbol object.
11881188
*/
1189-
(description?: string|number): Symbol;
1189+
(description?: string|number): symbol;
11901190

11911191
/**
11921192
* Returns a Symbol object from the global symbol registry matching the given key if found.
11931193
* Otherwise, returns a new symbol with this key.
11941194
* @param key key to search for.
11951195
*/
1196-
for(key: string): Symbol;
1196+
for(key: string): symbol;
11971197

11981198
/**
11991199
* Returns a key from the global symbol registry matching the given Symbol if found.
12001200
* Otherwise, returns a undefined.
12011201
* @param sym Symbol to find the key for.
12021202
*/
1203-
keyFor(sym: Symbol): string;
1203+
keyFor(sym: symbol): string;
12041204

12051205
// Well-known Symbols
12061206

12071207
/**
12081208
* A method that determines if a constructor object recognizes an object as one of the
12091209
* constructor’s instances. Called by the semantics of the instanceof operator.
12101210
*/
1211-
hasInstance: Symbol;
1211+
hasInstance: symbol;
12121212

12131213
/**
12141214
* A Boolean value that if true indicates that an object should flatten to its array elements
12151215
* by Array.prototype.concat.
12161216
*/
1217-
isConcatSpreadable: Symbol;
1217+
isConcatSpreadable: symbol;
12181218

12191219
/**
12201220
* A Boolean value that if true indicates that an object may be used as a regular expression.
12211221
*/
1222-
isRegExp: Symbol;
1222+
isRegExp: symbol;
12231223

12241224
/**
12251225
* A method that returns the default iterator for an object.Called by the semantics of the
12261226
* for-of statement.
12271227
*/
1228-
iterator: Symbol;
1228+
iterator: symbol;
12291229

12301230
/**
12311231
* A method that converts an object to a corresponding primitive value.Called by the ToPrimitive
12321232
* abstract operation.
12331233
*/
1234-
toPrimitive: Symbol;
1234+
toPrimitive: symbol;
12351235

12361236
/**
12371237
* A String value that is used in the creation of the default string description of an object.
12381238
* Called by the built- in method Object.prototype.toString.
12391239
*/
1240-
toStringTag: Symbol;
1240+
toStringTag: symbol;
12411241

12421242
/**
12431243
* An Object whose own property names are property names that are excluded from the with
12441244
* environment bindings of the associated objects.
12451245
*/
1246-
unscopables: Symbol;
1246+
unscopables: symbol;
12471247
}
12481248
declare var Symbol: SymbolConstructor;
12491249

@@ -1274,7 +1274,7 @@ interface ObjectConstructor {
12741274
* Returns an array of all symbol properties found directly on object o.
12751275
* @param o Object to retrieve the symbols from.
12761276
*/
1277-
getOwnPropertySymbols(o: any): Symbol[];
1277+
getOwnPropertySymbols(o: any): symbol[];
12781278

12791279
/**
12801280
* Returns true if the values are the same value, false otherwise.
@@ -1396,7 +1396,7 @@ interface ArrayLike<T> {
13961396

13971397
interface Array<T> {
13981398
/** Iterator */
1399-
// [Symbol.iterator] (): Iterator<T>;
1399+
[Symbol.iterator] (): Iterator<T>;
14001400

14011401
/**
14021402
* Returns an array of key, value pairs for every entry in the array
@@ -1495,7 +1495,7 @@ interface ArrayConstructor {
14951495

14961496
interface String {
14971497
/** Iterator */
1498-
// [Symbol.iterator] (): Iterator<string>;
1498+
[Symbol.iterator] (): Iterator<string>;
14991499

15001500
/**
15011501
* Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point
@@ -1613,12 +1613,12 @@ interface IteratorResult<T> {
16131613
}
16141614

16151615
interface Iterator<T> {
1616-
//[Symbol.iterator](): Iterator<T>;
1616+
[Symbol.iterator](): Iterator<T>;
16171617
next(): IteratorResult<T>;
16181618
}
16191619

16201620
interface Iterable<T> {
1621-
//[Symbol.iterator](): Iterator<T>;
1621+
[Symbol.iterator](): Iterator<T>;
16221622
}
16231623

16241624
interface GeneratorFunction extends Function {
@@ -1640,7 +1640,7 @@ interface Generator<T> extends Iterator<T> {
16401640
next(value?: any): IteratorResult<T>;
16411641
throw (exception: any): IteratorResult<T>;
16421642
return (value: T): IteratorResult<T>;
1643-
// [Symbol.toStringTag]: string;
1643+
[Symbol.toStringTag]: string;
16441644
}
16451645

16461646
interface Math {
@@ -1754,11 +1754,11 @@ interface Math {
17541754
*/
17551755
cbrt(x: number): number;
17561756

1757-
// [Symbol.toStringTag]: string;
1757+
[Symbol.toStringTag]: string;
17581758
}
17591759

17601760
interface RegExp {
1761-
// [Symbol.isRegExp]: boolean;
1761+
[Symbol.isRegExp]: boolean;
17621762

17631763
/**
17641764
* Matches a string with a regular expression, and returns an array containing the results of
@@ -1815,8 +1815,8 @@ interface Map<K, V> {
18151815
set(key: K, value?: V): Map<K, V>;
18161816
size: number;
18171817
values(): Iterator<V>;
1818-
// [Symbol.iterator]():Iterator<[K,V]>;
1819-
// [Symbol.toStringTag]: string;
1818+
[Symbol.iterator]():Iterator<[K,V]>;
1819+
[Symbol.toStringTag]: string;
18201820
}
18211821

18221822
interface MapConstructor {
@@ -1832,7 +1832,7 @@ interface WeakMap<K, V> {
18321832
get(key: K): V;
18331833
has(key: K): boolean;
18341834
set(key: K, value?: V): WeakMap<K, V>;
1835-
// [Symbol.toStringTag]: string;
1835+
[Symbol.toStringTag]: string;
18361836
}
18371837

18381838
interface WeakMapConstructor {
@@ -1852,8 +1852,8 @@ interface Set<T> {
18521852
keys(): Iterator<T>;
18531853
size: number;
18541854
values(): Iterator<T>;
1855-
// [Symbol.iterator]():Iterator<T>;
1856-
// [Symbol.toStringTag]: string;
1855+
[Symbol.iterator]():Iterator<T>;
1856+
[Symbol.toStringTag]: string;
18571857
}
18581858

18591859
interface SetConstructor {
@@ -1868,7 +1868,7 @@ interface WeakSet<T> {
18681868
clear(): void;
18691869
delete(value: T): boolean;
18701870
has(value: T): boolean;
1871-
// [Symbol.toStringTag]: string;
1871+
[Symbol.toStringTag]: string;
18721872
}
18731873

18741874
interface WeakSetConstructor {
@@ -1879,7 +1879,7 @@ interface WeakSetConstructor {
18791879
declare var WeakSet: WeakSetConstructor;
18801880

18811881
interface JSON {
1882-
// [Symbol.toStringTag]: string;
1882+
[Symbol.toStringTag]: string;
18831883
}
18841884

18851885
/**
@@ -1899,7 +1899,7 @@ interface ArrayBuffer {
18991899
*/
19001900
slice(begin: number, end?: number): ArrayBuffer;
19011901

1902-
// [Symbol.toStringTag]: string;
1902+
[Symbol.toStringTag]: string;
19031903
}
19041904

19051905
interface ArrayBufferConstructor {
@@ -2036,7 +2036,7 @@ interface DataView {
20362036
*/
20372037
setUint32(byteOffset: number, value: number, littleEndian: boolean): void;
20382038

2039-
// [Symbol.toStringTag]: string;
2039+
[Symbol.toStringTag]: string;
20402040
}
20412041

20422042
interface DataViewConstructor {
@@ -2303,7 +2303,7 @@ interface Int8Array {
23032303
values(): Iterator<number>;
23042304

23052305
[index: number]: number;
2306-
// [Symbol.iterator] (): Iterator<number>;
2306+
[Symbol.iterator] (): Iterator<number>;
23072307
}
23082308

23092309
interface Int8ArrayConstructor {
@@ -2593,7 +2593,7 @@ interface Uint8Array {
25932593
values(): Iterator<number>;
25942594

25952595
[index: number]: number;
2596-
// [Symbol.iterator] (): Iterator<number>;
2596+
[Symbol.iterator] (): Iterator<number>;
25972597
}
25982598

25992599
interface Uint8ArrayConstructor {
@@ -2883,7 +2883,7 @@ interface Uint8ClampedArray {
28832883
values(): Iterator<number>;
28842884

28852885
[index: number]: number;
2886-
// [Symbol.iterator] (): Iterator<number>;
2886+
[Symbol.iterator] (): Iterator<number>;
28872887
}
28882888

28892889
interface Uint8ClampedArrayConstructor {
@@ -3173,7 +3173,7 @@ interface Int16Array {
31733173
values(): Iterator<number>;
31743174

31753175
[index: number]: number;
3176-
// [Symbol.iterator] (): Iterator<number>;
3176+
[Symbol.iterator] (): Iterator<number>;
31773177
}
31783178

31793179
interface Int16ArrayConstructor {
@@ -3463,7 +3463,7 @@ interface Uint16Array {
34633463
values(): Iterator<number>;
34643464

34653465
[index: number]: number;
3466-
// [Symbol.iterator] (): Iterator<number>;
3466+
[Symbol.iterator] (): Iterator<number>;
34673467
}
34683468

34693469
interface Uint16ArrayConstructor {
@@ -3753,7 +3753,7 @@ interface Int32Array {
37533753
values(): Iterator<number>;
37543754

37553755
[index: number]: number;
3756-
// [Symbol.iterator] (): Iterator<number>;
3756+
[Symbol.iterator] (): Iterator<number>;
37573757
}
37583758

37593759
interface Int32ArrayConstructor {
@@ -4043,7 +4043,7 @@ interface Uint32Array {
40434043
values(): Iterator<number>;
40444044

40454045
[index: number]: number;
4046-
// [Symbol.iterator] (): Iterator<number>;
4046+
[Symbol.iterator] (): Iterator<number>;
40474047
}
40484048

40494049
interface Uint32ArrayConstructor {
@@ -4333,7 +4333,7 @@ interface Float32Array {
43334333
values(): Iterator<number>;
43344334

43354335
[index: number]: number;
4336-
// [Symbol.iterator] (): Iterator<number>;
4336+
[Symbol.iterator] (): Iterator<number>;
43374337
}
43384338

43394339
interface Float32ArrayConstructor {
@@ -4623,7 +4623,7 @@ interface Float64Array {
46234623
values(): Iterator<number>;
46244624

46254625
[index: number]: number;
4626-
// [Symbol.iterator] (): Iterator<number>;
4626+
[Symbol.iterator] (): Iterator<number>;
46274627
}
46284628

46294629
interface Float64ArrayConstructor {
@@ -4687,7 +4687,7 @@ declare var Reflect: {
46874687
getOwnPropertyDescriptor(target: any, propertyKey: PropertyKey): PropertyDescriptor;
46884688
getPrototypeOf(target: any): any;
46894689
has(target: any, propertyKey: string): boolean;
4690-
has(target: any, propertyKey: Symbol): boolean;
4690+
has(target: any, propertyKey: symbol): boolean;
46914691
isExtensible(target: any): boolean;
46924692
ownKeys(target: any): Array<PropertyKey>;
46934693
preventExtensions(target: any): boolean;

0 commit comments

Comments
 (0)