You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0308]: mismatched types
--> src/main.rs:9:20
|
9 | stop_coroutine(coroutine_u32);
| -------------- ^^^^^^^^^^^^^ expected `Coroutine`, found `Coroutine<u32>`
| |
| arguments to this function are incorrect
|
= note: expected struct `macroquad::experimental::coroutines::Coroutine<()>`
found struct `macroquad::experimental::coroutines::Coroutine<u32>`
It seems like the reason is the omitted type param in the definition for stop_coroutine, but I'm not smart enough to figure out why that ends up setting it to unit instead of failing altogether.
The text was updated successfully, but these errors were encountered:
Following fails to compile on mquad 0.4.13:
Message:
It seems like the reason is the omitted type param in the definition for
stop_coroutine
, but I'm not smart enough to figure out why that ends up setting it to unit instead of failing altogether.The text was updated successfully, but these errors were encountered: