Rename: jps-plugin -> jps/jps-plugin
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
class A() {
|
||||
val x: Int? = 100
|
||||
get() = field?.inc()
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
class A() {
|
||||
val x: Int? = 100
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/META-INF/module.kotlin_module
|
||||
out/production/module/test/UsageKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/usage.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Smart cast to 'Int' is impossible, because 'a.x' is a property that has open or custom getter
|
||||
|
||||
================ Step #2 =================
|
||||
|
||||
Cleaning output files:
|
||||
out/production/module/test/A.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/A.kt
|
||||
src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
public fun usage() {
|
||||
val a = A()
|
||||
if (a.x != null) {
|
||||
// a.x.dec()
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
public fun usage() {
|
||||
val a = A()
|
||||
if (a.x != null) {
|
||||
a.x.dec()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user