Michal Harakal
06/10/2021, 9:21 PMtypealias Matrix = List<List<Double>>Michal Harakal
06/10/2021, 9:21 PMclass kotlin.reflect.jvm.internal.impl.serialization.deserialization.descriptors.DeserializedTypeAliasDescriptor cannot be cast to class kotlin.reflect.jvm.internal.impl.descriptors.ClassDescriptor (kotlin.reflect.jvm.internal.impl.serialization.deserialization.descriptors.DeserializedTypeAliasDescriptor and kotlin.reflect.jvm.internal.impl.descriptors.ClassDescriptor are in unnamed module of loader 'app')
java.lang.ClassCastException: class kotlin.reflect.jvm.internal.impl.serialization.deserialization.descriptors.DeserializedTypeAliasDescriptor cannot be cast to class kotlin.reflect.jvm.internal.impl.descriptors.ClassDescriptor (kotlin.reflect.jvm.internal.impl.serialization.deserialization.descriptors.DeserializedTypeAliasDescriptor and kotlin.reflect.jvm.internal.impl.descriptors.ClassDescriptor are in unnamed module of loader 'app')
	at kotlin.reflect.jvm.internal.KClassImpl$Data$nestedClasses$2.invoke(KClassImpl.kt:102)
	at kotlin.reflect.jvm.internal.KClassImpl$Data$nestedClasses$2.invoke(KClassImpl.kt:47)
	at kotlin.reflect.jvm.internal.ReflectProperties$LazySoftVal.invoke(ReflectProperties.java:92)
	at kotlin.reflect.jvm.internal.ReflectProperties$Val.getValue(ReflectProperties.java:31)
	at kotlin.reflect.jvm.internal.KClassImpl$Data.getNestedClasses(KClassImpl.kt)
	at kotlin.reflect.jvm.internal.KClassImpl.getNestedClasses(KClassImpl.kt:240)
	at org.jetbrains.kotlinx.jupyter.codegen.ClassAnnotationsProcessorImpl.process(ClassAnnotationsProcessorImpl.kt:19)
	at org.jetbrains.kotlinx.jupyter.repl.impl.CellExecutorImpl$execute$1$2.invoke(CellExecutorImpl.kt:77)
	at org.jetbrains.kotlinx.jupyter.repl.impl.CellExecutorImpl$execute$1$2.invoke(CellExecutorImpl.kt:76)
	at org.jetbrains.kotlinx.jupyter.config.LoggingKt.catchAll(logging.kt:41)
	at org.jetbrains.kotlinx.jupyter.config.LoggingKt.catchAll$default(logging.kt:40)
	at org.jetbrains.kotlinx.jupyter.repl.impl.CellExecutorImpl.execute(CellExecutorImpl.kt:76)
	at org.jetbrains.kotlinx.jupyter.repl.CellExecutor$DefaultImpls.execute$default(CellExecutor.kt:13)
	at org.jetbrains.kotlinx.jupyter.ReplForJupyterImpl$eval$1.invoke(repl.kt:373)
	at org.jetbrains.kotlinx.jupyter.ReplForJupyterImpl$eval$1.invoke(repl.kt:363)
	at org.jetbrains.kotlinx.jupyter.ReplForJupyterImpl.withEvalContext(repl.kt:348)
	at org.jetbrains.kotlinx.jupyter.ReplForJupyterImpl.eval(repl.kt:363)
	at org.jetbrains.kotlinx.jupyter.ProtocolKt$shellMessagesHandler$res$1.invoke(protocol.kt:291)
	at org.jetbrains.kotlinx.jupyter.ProtocolKt$shellMessagesHandler$res$1.invoke(protocol.kt:290)
	at org.jetbrains.kotlinx.jupyter.JupyterConnection$runExecution$execThread$1.invoke(connection.kt:162)
	at org.jetbrains.kotlinx.jupyter.JupyterConnection$runExecution$exec
Thread$1.invoke(connection.kt:160)
	at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)Michal Harakal
06/10/2021, 9:22 PMrnett
06/10/2021, 9:26 PMrnett
06/10/2021, 9:27 PMaltavir
06/11/2021, 6:46 AMilya.chernikov
06/14/2021, 9:50 AM❯ cat m.kts
typealias Matrix = List<List<Double>>
val m: Matrix = listOf(listOf(0.1))
println(m)
❯ kotlin m.kts
[[0.1]]Ilya Muradyan
07/06/2021, 7:14 PM(scriptInstance::class).nestedClassesscriptInstanceIlya Muradyan
07/08/2021, 11:20 AM