Did one of you ever have the situation where kotli...
# javascript
r
Did one of you ever have the situation where kotlin produced a wrong order in the resulting JS module? If so, how have you influenced the compiler to generate a different order?
g
What do you mean by wrong order?
r
I have two top val and the first uses the second and unfortunately the second is initialed later on => which means when the first uses the second then the second is
undefined
g
Probably should create a youtrack ticket if it seems like a bug
r
luckily for me I found a workaround which made the order irrelevant.