|
| 1 | +//// [tests/cases/compiler/explicitMembersBeforeInherited.ts] //// |
| 2 | + |
| 3 | +=== explicitMembersBeforeInherited.ts === |
| 4 | +// https://github.com/microsoft/typescript-go/issues/1968 |
| 5 | + |
| 6 | +type IndentationTree<L> = TopNode<L> | VirtualNode<L> | LineNode<L> | BlankNode<L>; |
| 7 | +>IndentationTree : Symbol(IndentationTree, Decl(explicitMembersBeforeInherited.ts, 0, 0)) |
| 8 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 2, 21)) |
| 9 | +>TopNode : Symbol(TopNode, Decl(explicitMembersBeforeInherited.ts, 11, 1)) |
| 10 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 2, 21)) |
| 11 | +>VirtualNode : Symbol(VirtualNode, Decl(explicitMembersBeforeInherited.ts, 7, 1)) |
| 12 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 2, 21)) |
| 13 | +>LineNode : Symbol(LineNode, Decl(explicitMembersBeforeInherited.ts, 15, 1)) |
| 14 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 2, 21)) |
| 15 | +>BlankNode : Symbol(BlankNode, Decl(explicitMembersBeforeInherited.ts, 19, 1)) |
| 16 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 2, 21)) |
| 17 | + |
| 18 | +type IndentationSubTree<L> = Exclude<IndentationTree<L>, TopNode<L>>; |
| 19 | +>IndentationSubTree : Symbol(IndentationSubTree, Decl(explicitMembersBeforeInherited.ts, 2, 83)) |
| 20 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 3, 24)) |
| 21 | +>Exclude : Symbol(Exclude, Decl(lib.es5.d.ts, --, --)) |
| 22 | +>IndentationTree : Symbol(IndentationTree, Decl(explicitMembersBeforeInherited.ts, 0, 0)) |
| 23 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 3, 24)) |
| 24 | +>TopNode : Symbol(TopNode, Decl(explicitMembersBeforeInherited.ts, 11, 1)) |
| 25 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 3, 24)) |
| 26 | + |
| 27 | +interface NodeBase<L> { |
| 28 | +>NodeBase : Symbol(NodeBase, Decl(explicitMembersBeforeInherited.ts, 3, 69)) |
| 29 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 5, 19)) |
| 30 | + |
| 31 | + subs: IndentationSubTree<L>[]; |
| 32 | +>subs : Symbol(NodeBase.subs, Decl(explicitMembersBeforeInherited.ts, 5, 23)) |
| 33 | +>IndentationSubTree : Symbol(IndentationSubTree, Decl(explicitMembersBeforeInherited.ts, 2, 83)) |
| 34 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 5, 19)) |
| 35 | +} |
| 36 | + |
| 37 | +interface VirtualNode<L> extends NodeBase<L> { |
| 38 | +>VirtualNode : Symbol(VirtualNode, Decl(explicitMembersBeforeInherited.ts, 7, 1)) |
| 39 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 9, 22)) |
| 40 | +>NodeBase : Symbol(NodeBase, Decl(explicitMembersBeforeInherited.ts, 3, 69)) |
| 41 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 9, 22)) |
| 42 | + |
| 43 | + type: 'virtual'; |
| 44 | +>type : Symbol(VirtualNode.type, Decl(explicitMembersBeforeInherited.ts, 9, 46)) |
| 45 | +} |
| 46 | + |
| 47 | +interface TopNode<L> extends NodeBase<L> { |
| 48 | +>TopNode : Symbol(TopNode, Decl(explicitMembersBeforeInherited.ts, 11, 1)) |
| 49 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 13, 18)) |
| 50 | +>NodeBase : Symbol(NodeBase, Decl(explicitMembersBeforeInherited.ts, 3, 69)) |
| 51 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 13, 18)) |
| 52 | + |
| 53 | + type: 'top'; |
| 54 | +>type : Symbol(TopNode.type, Decl(explicitMembersBeforeInherited.ts, 13, 42)) |
| 55 | +} |
| 56 | + |
| 57 | +interface LineNode<L> extends NodeBase<L> { |
| 58 | +>LineNode : Symbol(LineNode, Decl(explicitMembersBeforeInherited.ts, 15, 1)) |
| 59 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 17, 19)) |
| 60 | +>NodeBase : Symbol(NodeBase, Decl(explicitMembersBeforeInherited.ts, 3, 69)) |
| 61 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 17, 19)) |
| 62 | + |
| 63 | + type: 'line'; |
| 64 | +>type : Symbol(LineNode.type, Decl(explicitMembersBeforeInherited.ts, 17, 43)) |
| 65 | +} |
| 66 | + |
| 67 | +interface BlankNode<L> extends NodeBase<L> { |
| 68 | +>BlankNode : Symbol(BlankNode, Decl(explicitMembersBeforeInherited.ts, 19, 1)) |
| 69 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 21, 20)) |
| 70 | +>NodeBase : Symbol(NodeBase, Decl(explicitMembersBeforeInherited.ts, 3, 69)) |
| 71 | +>L : Symbol(L, Decl(explicitMembersBeforeInherited.ts, 21, 20)) |
| 72 | + |
| 73 | + type: 'blank'; |
| 74 | +>type : Symbol(BlankNode.type, Decl(explicitMembersBeforeInherited.ts, 21, 44)) |
| 75 | +} |
| 76 | + |
0 commit comments