-
-
Notifications
You must be signed in to change notification settings - Fork 438
Open
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
The following valid Kotlin code:
fun fromString(s: String): Passport {
val fieldsAndValues = s.split(" ", "\n", "\r\n")
val map = fieldsAndValues.associate {
val (key, value) = it.split(":")
key to value
}
return Passport(map)
}
is rendered as such:
It seems that Chroma currently doesn't understand Kotlin destructuring declarations.
To Reproduce
See the playground.
jaller94