d98da87278
^KT-62030 fixed
8 lines
428 B
Plaintext
Vendored
8 lines
428 B
Plaintext
Vendored
compiler/testData/cli/jvm/reportInternalDiagnosticNames.kt:2:21: error: [INITIALIZER_TYPE_MISMATCH] Initializer type mismatch: expected 'kotlin.String', actual 'kotlin.Int'.
|
|
val x: String = 1
|
|
^
|
|
compiler/testData/cli/jvm/reportInternalDiagnosticNames.kt:3:1: error: [NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY] A 'return' expression is required in a function with a block body ('{...}').
|
|
}
|
|
^
|
|
COMPILATION_ERROR
|