[FIR IDE] Compare error types consistently in test data
Use the fixed error type description so test data can be shared across both frontends.
This commit is contained in:
+3
-3
@@ -21,9 +21,9 @@ import kotlin.reflect.full.declaredMemberExtensionProperties
|
||||
import kotlin.reflect.full.extensionReceiverParameter
|
||||
|
||||
public object DebugSymbolRenderer {
|
||||
public fun render(symbol: KtSymbol): String = Block().apply {
|
||||
renderSymbol(symbol)
|
||||
}.toString()
|
||||
public fun render(symbol: KtSymbol): String = Block().apply { renderSymbol(symbol) }.toString()
|
||||
|
||||
public fun renderType(type: KtType): String = Block().apply { renderType(type) }.toString()
|
||||
|
||||
public fun KtAnalysisSession.renderExtra(symbol: KtSymbol): String = Block().apply {
|
||||
renderSymbol(symbol)
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
expression: av
|
||||
expected type: ERROR CLASS: Unresolved name: av
|
||||
expected type: ERROR_TYPE
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
expression: av
|
||||
expected type: ERROR CLASS: Unresolved name: av
|
||||
expected type: ERROR_TYPE
|
||||
|
||||
Reference in New Issue
Block a user