pakoito
03/08/2019, 12:14 PMpakoito
03/08/2019, 12:14 PMstojan
03/08/2019, 12:15 PMstojan
03/08/2019, 12:15 PMpakoito
03/08/2019, 12:15 PMpakoito
03/08/2019, 12:15 PMpakoito
03/08/2019, 12:15 PMstojan
03/08/2019, 12:17 PMpakoito
03/08/2019, 12:18 PMpakoito
03/08/2019, 12:18 PMfx
pakoito
03/08/2019, 12:18 PMpakoito
03/08/2019, 12:18 PMstojan
03/08/2019, 12:19 PMdata class Law(val name: String, val test: TestContext.() -> Unit)
<- test
is not suspendedpakoito
03/08/2019, 12:21 PMdata class Law(val name: String, val test: suspend TestContext.() -> Unit)
pakoito
03/08/2019, 12:21 PMstojan
03/08/2019, 12:22 PMstojan
03/08/2019, 12:22 PMstojan
03/08/2019, 12:22 PMpakoito
03/08/2019, 12:26 PMfun bla(): IO<User>
, imagine that suspend is just a way of hiding the wrapper type, so suspend fun bla(): User
is how it looks like, but behind the scenes both behave the samepakoito
03/08/2019, 12:26 PMstojan
03/08/2019, 12:27 PMstojan
03/08/2019, 12:40 PMNumberMonoidTests
-> java.lang.RuntimeException: Nested tests are not allowed to be defined here. Please see the documentation for the spec styles
stojan
03/08/2019, 12:40 PMpakoito
03/08/2019, 12:47 PMstojan
03/08/2019, 12:49 PMstojan
03/08/2019, 12:49 PMstojan
03/08/2019, 12:49 PMstojan
03/08/2019, 1:23 PMkotlin.reflect.jvm.internal.KotlinReflectionInternalError: Introspecting local functions, lambdas, anonymous functions and local variables is not yet fully supported in Kotlin reflection
stojan
03/08/2019, 1:57 PMkotlin-reflect
gets resolved to 1.3.21 org.jetbrains.kotlin:kotlin-reflect:1.3.0 -> 1.3.21 (*)