Closed JSMonk closed 3 years ago
Currently we ignore readonly qualifier for class and interface fields.
readonly
declare class Foo { readonly BAR: string }
Today, we compile the class in the next one:
external open class Foo { var BAR: String }
Those changes provide compilation readonly fields into val variables:
val
external open class Foo { val BAR: String }
https://github.com/Kotlin/dukat/issues/415
Summary
Currently we ignore
readonly
qualifier for class and interface fields.Today, we compile the class in the next one:
Those changes provide compilation
readonly
fields intoval
variables:Related Issue
https://github.com/Kotlin/dukat/issues/415