[FIR] Update testdata after introducing FirResolvedErrorReference
This commit is contained in:
committed by
Space Team
parent
dde64c10ea
commit
b174bb8844
+1
-1
@@ -8,7 +8,7 @@ FILE: main.kt
|
||||
^ R|<local>/x|.R|kotlin/Int.toString|()
|
||||
}
|
||||
)
|
||||
<CS errors: /MyFunction>#<R|ERROR CLASS: Cannot infer argument for type parameter T|, R|ERROR CLASS: Cannot infer argument for type parameter R|>(<L> = MyFunction@fun <anonymous>(x: <ERROR TYPE REF: Cannot infer argument for type parameter T>): <ERROR TYPE REF: Cannot infer argument for type parameter R> <inline=NoInline> {
|
||||
R|/MyFunction<CS errors: /MyFunction>#|<R|ERROR CLASS: Cannot infer argument for type parameter T|, R|ERROR CLASS: Cannot infer argument for type parameter R|>(<L> = MyFunction@fun <anonymous>(x: <ERROR TYPE REF: Cannot infer argument for type parameter T>): <ERROR TYPE REF: Cannot infer argument for type parameter R> <inline=NoInline> {
|
||||
^ String()
|
||||
}
|
||||
)
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ FILE: main.kt
|
||||
^ R|<local>/x|.R|kotlin/Number.toInt|().R|kotlin/Int.toString|()
|
||||
}
|
||||
))
|
||||
<Inapplicable(INAPPLICABLE): /foo2>#(R|/MyFunction|<R|kotlin/Int!|, R|kotlin/String!|>(<L> = MyFunction@fun <anonymous>(x: R|kotlin/Int|): R|kotlin/String!| <inline=NoInline> {
|
||||
R|/foo2<Inapplicable(INAPPLICABLE): /foo2>#|(R|/MyFunction|<R|kotlin/Int!|, R|kotlin/String!|>(<L> = MyFunction@fun <anonymous>(x: R|kotlin/Int|): R|kotlin/String!| <inline=NoInline> {
|
||||
^ R|<local>/x|.R|kotlin/Int.toString|()
|
||||
}
|
||||
))
|
||||
|
||||
Vendored
+3
-3
@@ -5,11 +5,11 @@ FILE: main.kt
|
||||
^MyRunnable Int(1)
|
||||
}
|
||||
public final fun main(): R|kotlin/Unit| {
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(R|/MyRunnable|(<L> = MyRunnable@fun <anonymous>(x: R|kotlin/Int|): R|kotlin/Boolean| <inline=NoInline> {
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(R|/MyRunnable|(<L> = MyRunnable@fun <anonymous>(x: R|kotlin/Int|): R|kotlin/Boolean| <inline=NoInline> {
|
||||
^ CMP(>, R|<local>/x|.R|kotlin/Int.compareTo|(Int(1)))
|
||||
}
|
||||
))
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(R|/MyRunnable|(MyRunnable@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Boolean| <inline=NoInline> {
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(R|/MyRunnable|(MyRunnable@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Boolean| <inline=NoInline> {
|
||||
^ CMP(>, R|<local>/it|.R|kotlin/Int.compareTo|(Int(1)))
|
||||
}
|
||||
))
|
||||
@@ -17,5 +17,5 @@ FILE: main.kt
|
||||
^ CMP(>, R|<local>/x|.R|kotlin/Int.compareTo|(Int(1)))
|
||||
}
|
||||
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(R|/MyRunnable|(R|<local>/x|))
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(R|/MyRunnable|(R|<local>/x|))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user