@adam-mcneilly I'm not trying to modify it. But I got error:
instances of kotlin.Error, kotlin.RuntimeException and subclasses aren't propagated from Kotlin to Objective-C/Swift.
Other exceptions can be propagated as NSError if method has or inherits @Throws annotation.
Uncaught Kotlin exception: konan.worker.InvalidMutabilityException: mutation attempt of frozen {a=[E,S,D], b=[C,F,G]} (hash is 0x45f9e1aa)
at 3 0x00000001027ec278 kfun:kotlin.collections.HashMap.<get-entries>()kotlin.collections.MutableSet<kotlin.collections.MutableMap.MutableEntry<#GENERIC,#GENERIC>> + 1172
at 4 0x000000010278817c kfun:a.b.c.MyService.getStringValue$M(kotlin.Long)kotlin.String? + 424
And it point to line, where I'm trying to get value from map.