Home
last modified time | relevance | path

Searched refs:StringIterator (Results 1 – 25 of 80) sorted by relevance

1234

/third_party/typescript/tests/baselines/reference/
Dfor-of16.types2 class StringIterator {
3 >StringIterator : StringIterator
19 for (v of new StringIterator) { } // Should fail
21 >new StringIterator : StringIterator
22 >StringIterator : typeof StringIterator
24 for (v of new StringIterator) { } // Should still fail (related errors should still be shown even t…
26 >new StringIterator : StringIterator
27 >StringIterator : typeof StringIterator
Dfor-of16.symbols2 class StringIterator {
3 >StringIterator : Symbol(StringIterator, Decl(for-of16.ts, 0, 0))
6 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of16.ts, 0, 22))
12 >this : Symbol(StringIterator, Decl(for-of16.ts, 0, 0))
19 for (v of new StringIterator) { } // Should fail
21 >StringIterator : Symbol(StringIterator, Decl(for-of16.ts, 0, 0))
23 for (v of new StringIterator) { } // Should still fail (related errors should still be shown even t…
25 >StringIterator : Symbol(StringIterator, Decl(for-of16.ts, 0, 0))
DES5For-ofTypeCheck10.js3 class StringIterator { class
15 for (var v of new StringIterator) { }
19 var StringIterator = /** @class */ (function () {
20 function StringIterator() { class in StringIterator
22 StringIterator.prototype.next = function () {
28 StringIterator.prototype[Symbol.iterator] = function () {
31 return StringIterator;
33 for (var _i = 0, _a = new StringIterator; _i < _a.length; _i++) {
Dfor-of14.types2 class StringIterator {
3 >StringIterator : StringIterator
16 for (v of new StringIterator) { } // Should fail because the iterator is not iterable
18 >new StringIterator : StringIterator
19 >StringIterator : typeof StringIterator
Dfor-of27.types2 class StringIterator {
3 >StringIterator : StringIterator
12 for (var v of new StringIterator) { }
14 >new StringIterator : StringIterator
15 >StringIterator : typeof StringIterator
Dfor-of33.types2 class StringIterator {
3 >StringIterator : StringIterator
16 for (var v of new StringIterator) { }
18 >new StringIterator : StringIterator
19 >StringIterator : typeof StringIterator
Dfor-of28.types2 class StringIterator {
3 >StringIterator : StringIterator
19 for (var v of new StringIterator) { }
21 >new StringIterator : StringIterator
22 >StringIterator : typeof StringIterator
Dfor-of25.types2 class StringIterator {
3 >StringIterator : StringIterator
19 for (var v of new StringIterator) { }
21 >new StringIterator : StringIterator
22 >StringIterator : typeof StringIterator
Dfor-of30.symbols2 class StringIterator {
3 >StringIterator : Symbol(StringIterator, Decl(for-of30.ts, 0, 0))
6 >next : Symbol(StringIterator.next, Decl(for-of30.ts, 0, 22))
18 >return : Symbol(StringIterator.return, Decl(for-of30.ts, 6, 5))
21 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of30.ts, 8, 15))
27 >this : Symbol(StringIterator, Decl(for-of30.ts, 0, 0))
31 for (var v of new StringIterator) { }
33 >StringIterator : Symbol(StringIterator, Decl(for-of30.ts, 0, 0))
Dfor-of34.types2 class StringIterator {
3 >StringIterator : StringIterator
23 for (var v of new StringIterator) { }
25 >new StringIterator : StringIterator
26 >StringIterator : typeof StringIterator
DES5For-ofTypeCheck10.symbols3 class StringIterator {
4 >StringIterator : Symbol(StringIterator, Decl(ES5For-ofTypeCheck10.ts, 0, 0))
7 >next : Symbol(StringIterator.next, Decl(ES5For-ofTypeCheck10.ts, 1, 22))
19 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(ES5For-ofTypeCheck10.ts, 7, 5))
22 >this : Symbol(StringIterator, Decl(ES5For-ofTypeCheck10.ts, 0, 0))
26 for (var v of new StringIterator) { }
28 >StringIterator : Symbol(StringIterator, Decl(ES5For-ofTypeCheck10.ts, 0, 0))
Dfor-of15.types2 class StringIterator {
3 >StringIterator : StringIterator
25 for (v of new StringIterator) { } // Should fail
27 >new StringIterator : StringIterator
28 >StringIterator : typeof StringIterator
Dfor-of26.types2 class StringIterator {
3 >StringIterator : StringIterator
25 for (var v of new StringIterator) { }
27 >new StringIterator : StringIterator
28 >StringIterator : typeof StringIterator
Dfor-of28.symbols2 class StringIterator {
3 >StringIterator : Symbol(StringIterator, Decl(for-of28.ts, 0, 0))
6 >next : Symbol(StringIterator.next, Decl(for-of28.ts, 0, 22))
9 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of28.ts, 1, 14))
15 >this : Symbol(StringIterator, Decl(for-of28.ts, 0, 0))
19 for (var v of new StringIterator) { }
21 >StringIterator : Symbol(StringIterator, Decl(for-of28.ts, 0, 0))
Dfor-of31.types2 class StringIterator {
3 >StringIterator : StringIterator
29 for (var v of new StringIterator) { }
31 >new StringIterator : StringIterator
32 >StringIterator : typeof StringIterator
Dfor-of34.symbols2 class StringIterator {
3 >StringIterator : Symbol(StringIterator, Decl(for-of34.ts, 0, 0))
6 >next : Symbol(StringIterator.next, Decl(for-of34.ts, 0, 22))
13 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of34.ts, 3, 5))
19 >this : Symbol(StringIterator, Decl(for-of34.ts, 0, 0))
23 for (var v of new StringIterator) { }
25 >StringIterator : Symbol(StringIterator, Decl(for-of34.ts, 0, 0))
Dfor-of30.types2 class StringIterator {
3 >StringIterator : StringIterator
36 for (var v of new StringIterator) { }
38 >new StringIterator : StringIterator
39 >StringIterator : typeof StringIterator
Dfor-of35.types2 class StringIterator {
3 >StringIterator : StringIterator
32 for (var v of new StringIterator) { }
34 >new StringIterator : StringIterator
35 >StringIterator : typeof StringIterator
Dfor-of18.types2 class StringIterator {
3 >StringIterator : StringIterator
35 for (v of new StringIterator) { } // Should succeed
37 >new StringIterator : StringIterator
38 >StringIterator : typeof StringIterator
Dfor-of31.symbols2 class StringIterator {
3 >StringIterator : Symbol(StringIterator, Decl(for-of31.ts, 0, 0))
6 >next : Symbol(StringIterator.next, Decl(for-of31.ts, 0, 22))
16 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of31.ts, 6, 5))
22 >this : Symbol(StringIterator, Decl(for-of31.ts, 0, 0))
26 for (var v of new StringIterator) { }
28 >StringIterator : Symbol(StringIterator, Decl(for-of31.ts, 0, 0))
Dfor-of15.symbols2 class StringIterator {
3 >StringIterator : Symbol(StringIterator, Decl(for-of15.ts, 0, 0))
6 >next : Symbol(StringIterator.next, Decl(for-of15.ts, 0, 22))
11 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of15.ts, 3, 5))
17 >this : Symbol(StringIterator, Decl(for-of15.ts, 0, 0))
24 for (v of new StringIterator) { } // Should fail
26 >StringIterator : Symbol(StringIterator, Decl(for-of15.ts, 0, 0))
DES5For-ofTypeCheck10.types3 class StringIterator {
4 >StringIterator : StringIterator
33 for (var v of new StringIterator) { }
35 >new StringIterator : StringIterator
36 >StringIterator : typeof StringIterator
Dfor-of26.symbols2 class StringIterator {
3 >StringIterator : Symbol(StringIterator, Decl(for-of26.ts, 0, 0))
6 >next : Symbol(StringIterator.next, Decl(for-of26.ts, 0, 22))
12 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of26.ts, 3, 5))
18 >this : Symbol(StringIterator, Decl(for-of26.ts, 0, 0))
25 for (var v of new StringIterator) { }
27 >StringIterator : Symbol(StringIterator, Decl(for-of26.ts, 0, 0))
Dfor-of35.symbols2 class StringIterator {
3 >StringIterator : Symbol(StringIterator, Decl(for-of35.ts, 0, 0))
6 >next : Symbol(StringIterator.next, Decl(for-of35.ts, 0, 22))
19 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of35.ts, 6, 5))
25 >this : Symbol(StringIterator, Decl(for-of35.ts, 0, 0))
29 for (var v of new StringIterator) { }
31 >StringIterator : Symbol(StringIterator, Decl(for-of35.ts, 0, 0))
Dfor-of18.symbols2 class StringIterator {
3 >StringIterator : Symbol(StringIterator, Decl(for-of18.ts, 0, 0))
6 >next : Symbol(StringIterator.next, Decl(for-of18.ts, 0, 22))
18 >[Symbol.iterator] : Symbol(StringIterator[Symbol.iterator], Decl(for-of18.ts, 6, 5))
24 >this : Symbol(StringIterator, Decl(for-of18.ts, 0, 0))
31 for (v of new StringIterator) { } // Should succeed
33 >StringIterator : Symbol(StringIterator, Decl(for-of18.ts, 0, 0))

1234