Add basic FIR -> IR converter with a set of text tests
Tests duplicate IrTextTestCaseGenerated #KT-24065 Fixed
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
FILE fqName:<root> fileName:/catchParameterAccess.kt
|
||||
FUN name:test visibility:public modality:FINAL <> (f:kotlin.Function0) returnType:IrErrorType
|
||||
VALUE_PARAMETER name:f index:0 type:kotlin.Function0
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='public final fun test (f: kotlin.Function0): IrErrorType declared in <root>'
|
||||
TRY type=IrErrorType
|
||||
try: ERROR_CALL 'Unresolved reference: <Unresolved name: f>#' type=IrErrorType
|
||||
CATCH parameter=val e: java.lang.Exception [val] declared in <root>.test
|
||||
VAR name:e type:java.lang.Exception [val]
|
||||
THROW type=kotlin.Nothing
|
||||
GET_VAR 'val e: java.lang.Exception [val] declared in <root>.test' type=java.lang.Exception origin=null
|
||||
Reference in New Issue
Block a user