Files
kotlin-fork/compiler/testData/cli/jvm/reportInternalDiagnosticNames.out
T
2023-09-19 15:46:28 +00:00

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