[FIR] Add diagnostic collection to KotlinToJVMBytecodeCompiler
This commit is contained in:
+10
-1
@@ -1 +1,10 @@
|
||||
OK
|
||||
compiler/testData/cli/jvm/firError.kt:5:13: error: x must be initialized before access
|
||||
println(x)
|
||||
^
|
||||
compiler/testData/cli/jvm/firError.kt:10:16: error: public subclass exposes its private supertype Private
|
||||
class Public : Private() {
|
||||
^
|
||||
compiler/testData/cli/jvm/firError.kt:11:9: error: public property exposes its private type Private
|
||||
val x: Private
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
|
||||
Reference in New Issue
Block a user