Has anyone else seen this? Either this is a huge b...
# javascript
s
Has anyone else seen this? Either this is a huge bug, no one is using dynamic except me, or there is some limitation around dynamic that I'm not aware of. Any time I use dynamic, I need to ensure it's done on it's own line, otherwise the code doesn't run properly. https://youtrack.jetbrains.com/issue/KT-55182/Incorrect-Compilation-for-suspend-function-that-returns-dynamic
e
I've also had this (or a similar) issue. I don't remember if
dynamic
was a factor, but definitely a case involving coroutines where splitting a suspending statement into 2 separate had a different result than keeping it as a single statement, while they should have been semantically the same.