mirror of https://github.com/tinygo-org/tinygo.git
Browse Source
Because the parentHandle parameter wasn't always set to the right value, the coroutine lowering pass would sometimes panic with "trying to make exported function async" even though there was no exported function involved. Therefore, it should unconditionally be set to avoid this. The parent function doesn't always have the parentHandle function parameter set because it can only be set after defining a function, not when it is only declared.pull/1543/head
Ayke van Laethem
4 years ago
committed by
Ron Evans
1 changed files with 1 additions and 3 deletions
Loading…
Reference in new issue