Join Slack
When IrField.isStatic == true initializer block is not generated when compiling to JS. Only var fie...
# compiler
p
PHondogo
05/13/2020, 3:20 PM
When IrField.isStatic == true initializer block is not generated when compiling to JS. Only var fieldName; is generated
PHondogo
05/13/2020, 10:40 PM
The workaround is to add irField to top level declaration (file) and make non static
47
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by