hello world skill test kotlin:
val s1:DiHelloWorld = DiHelloWorld()
val n1:Neuron = Neuron()
s1.input("hello","","")
s1.output(n1)
println(n1.algParts.get(0).algParts.get(0).action("","",""))
"Kotlin: Inherited platform declarations clash: The following declarations have the same JVM signature"
this err occured when I tranlated java code to kotlin code
the java code had a setter which was redundant,
once I deleted the setter from the kotlin ver, the err cleared
dude check out the bool cloudian
class CldBool {
//cloudian : this class is used to provide shadow reference to a boolean variable
var modeActive = false
}
so gnarly only 2 code lines!
I dig that explosive effect when intelliJ converts java code to kotlin
class DeepCopier {
fun copyList(original: ArrayList<String>): ArrayList<String> {
return ArrayList(original)
}
}