37 lines
1.4 KiB
Text
37 lines
1.4 KiB
Text
=== tests/cases/compiler/nonContextuallyTypedLogicalOr.ts ===
|
|
interface Contextual {
|
|
>Contextual : Contextual, Symbol(Contextual,Decl(nonContextuallyTypedLogicalOr.ts,0,0))
|
|
|
|
dummy;
|
|
>dummy : any, Symbol(dummy,Decl(nonContextuallyTypedLogicalOr.ts,0,22))
|
|
|
|
p?: number;
|
|
>p : number, Symbol(p,Decl(nonContextuallyTypedLogicalOr.ts,1,10))
|
|
}
|
|
|
|
interface Ellement {
|
|
>Ellement : Ellement, Symbol(Ellement,Decl(nonContextuallyTypedLogicalOr.ts,3,1))
|
|
|
|
dummy;
|
|
>dummy : any, Symbol(dummy,Decl(nonContextuallyTypedLogicalOr.ts,5,20))
|
|
|
|
p: any;
|
|
>p : any, Symbol(p,Decl(nonContextuallyTypedLogicalOr.ts,6,10))
|
|
}
|
|
|
|
var c: Contextual;
|
|
>c : Contextual, Symbol(c,Decl(nonContextuallyTypedLogicalOr.ts,10,3))
|
|
>Contextual : Contextual, Symbol(Contextual,Decl(nonContextuallyTypedLogicalOr.ts,0,0))
|
|
|
|
var e: Ellement;
|
|
>e : Ellement, Symbol(e,Decl(nonContextuallyTypedLogicalOr.ts,11,3))
|
|
>Ellement : Ellement, Symbol(Ellement,Decl(nonContextuallyTypedLogicalOr.ts,3,1))
|
|
|
|
(c || e).dummy;
|
|
>(c || e).dummy : any, Symbol(dummy,Decl(nonContextuallyTypedLogicalOr.ts,0,22),Decl(nonContextuallyTypedLogicalOr.ts,5,20))
|
|
>(c || e) : Contextual | Ellement
|
|
>c || e : Contextual | Ellement
|
|
>c : Contextual, Symbol(c,Decl(nonContextuallyTypedLogicalOr.ts,10,3))
|
|
>e : Ellement, Symbol(e,Decl(nonContextuallyTypedLogicalOr.ts,11,3))
|
|
>dummy : any, Symbol(dummy,Decl(nonContextuallyTypedLogicalOr.ts,0,22),Decl(nonContextuallyTypedLogicalOr.ts,5,20))
|
|
|