-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coroutines C error found. #23587
Comments
Connected to Huly®: V_0.6-22013 |
This bug is because not
import coroutines
fn echo() {
println("echo")
$if is_coroutine ? {
println("coroutine")
}
}
fn main() {
go echo()
} or
#flag -I @VEXEROOT/thirdparty/photon
#flag @VEXEROOT/thirdparty/photon/photonwrapper.so
#include "photonwrapper.h"
fn echo() {
println("echo")
$if is_coroutine ? {
println("coroutine")
}
}
fn main() {
go echo()
} May require a patch for v, when detect used |
How to install |
Is the base of V installation. You can see what thing does or try to do What I noticed is that
I think With |
Describe the bug
coroutine_learn.v:
run:
output:
Reproduction Steps
Run the code above on ubuntu 24.04
Expected Behavior
no error
Current Behavior
error
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.9 801600c
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: