mantono
11/21/2017, 1:45 PMval map: Map<String, suspend (String) -> Boolean
If i try to initialize it with mapOf("some string" to ::mySuspendFunction)
the compiler says
Type inference failed. Expected type mismatch: inferred type is Map<String, KFunction1<@ParameterName String, Boolean>> but Map<String, suspend (String) -> Boolean was expected