Add basic FIR -> IR converter with a set of text tests

Tests duplicate IrTextTestCaseGenerated
#KT-24065 Fixed
This commit is contained in:
Mikhail Glukhikh
2019-04-05 13:37:48 +03:00
parent 92adfd8946
commit 881073b1c9
305 changed files with 22829 additions and 57 deletions
@@ -0,0 +1,11 @@
FILE fqName:<root> fileName:/dotQualified.kt
FUN name:length visibility:public modality:FINAL <> (s:kotlin.String) returnType:IrErrorType
VALUE_PARAMETER name:s index:0 type:kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun length (s: kotlin.String): IrErrorType declared in <root>'
ERROR_CALL 'Unresolved reference: <Unresolved name: length>#' type=IrErrorType
FUN name:lengthN visibility:public modality:FINAL <> (s:kotlin.String?) returnType:IrErrorType
VALUE_PARAMETER name:s index:0 type:kotlin.String?
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun lengthN (s: kotlin.String?): IrErrorType declared in <root>'
ERROR_CALL 'Unresolved reference: <Unresolved name: length>#' type=IrErrorType