interp: run goroutine starts and checks at runtime

This change prevents interp from trying to execute goroutine starts or checks.
This fixes a bug where a goroutine started by an init function would run before the init function.
This commit is contained in:
Nia Waldvogel
2021-12-22 15:30:25 -05:00
committed by Ron Evans
parent 0aed62efe4
commit 9db8826b3b
3 changed files with 12 additions and 1 deletions
+2
View File
@@ -1,3 +1,5 @@
init
goroutine in init
main 1
sub 1
main 2