summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/generic-type-inference-fail.slang.expected
blob: 1910954d07a93593473cb6104f82669a180a170c (plain)
1
2
3
4
5
6
7
8
9
10
11
result code = -1
standard error = {
tests/diagnostics/generic-type-inference-fail.slang(66): error 39999: could not specialize generic for arguments of type (int)
    var obj3 = CreateT_Assoc_Inner(1); // ERROR.
                                  ^
tests/diagnostics/generic-type-inference-fail.slang(18): note: see declaration of func CreateT_Assoc_Inner<T>(int) -> T.TAssoc
T.TAssoc CreateT_Assoc_Inner<T:IInterface>(int inVal)
         ^~~~~~~~~~~~~~~~~~~
}
standard output = {
}