-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Go has more strict rules regarding what goto
jumps are valid.
cxgo
currently doesn't reflow goto
automatically. So "bad" goto
will fail to compile in Go.
There is a workaround implemented in cxgo
as one of the "ugly" ways to make the code compile. This workaround will completely flatten the code in a specified function.
We can try to implement a proper reflow algorithm, since those kind of goto
statements are quite common.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request