47 lines
2.5 KiB
Text
47 lines
2.5 KiB
Text
=== tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithIdenticalTypeParameter.ts ===
|
|
function foo<T>(t: T) {
|
|
>foo : Symbol(foo, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 0))
|
|
>T : Symbol(T, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 13))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
>T : Symbol(T, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 13))
|
|
|
|
var r1 = t < t;
|
|
>r1 : Symbol(r1, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 1, 7))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
|
|
var r2 = t > t;
|
|
>r2 : Symbol(r2, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 2, 7))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
|
|
var r3 = t <= t;
|
|
>r3 : Symbol(r3, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 3, 7))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
|
|
var r4 = t >= t;
|
|
>r4 : Symbol(r4, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 4, 7))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
|
|
var r5 = t == t;
|
|
>r5 : Symbol(r5, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 5, 7))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
|
|
var r6 = t != t;
|
|
>r6 : Symbol(r6, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 6, 7))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
|
|
var r7 = t === t;
|
|
>r7 : Symbol(r7, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 7, 7))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
|
|
var r8 = t !== t;
|
|
>r8 : Symbol(r8, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 8, 7))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
>t : Symbol(t, Decl(comparisonOperatorWithIdenticalTypeParameter.ts, 0, 16))
|
|
}
|