You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
funfromString(s:String): Passport {
val fieldsAndValues = s.split("", "\n", "\r\n")
val map = fieldsAndValues.associate {
val (key, value) = it.split(":")
key to value
}
returnPassport(map)
}
Is there an existing issue for this?
Describe the bug
The following valid Kotlin code:
is rendered as such:
It seems that Chroma currently doesn't understand Kotlin destructuring declarations.
To Reproduce
See the playground.
The text was updated successfully, but these errors were encountered: