Replies: 1 comment
-
@Moosems For whatever reason you have to use @value
@register_passable
struct DodgyInt:
var data: Int
fn __init__(data: Int) -> DodgyInt:
return DodgyInt {data: data} If you could raise an issue for this with just the above snippet pre and post fix that would be awesome thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created a custom array (shown below) with the help of the devs at one point and when messing around with it noticed that after instantiating it with a trivial int type that it stopped the program without any errors.
@jackos Here :D.
Beta Was this translation helpful? Give feedback.
All reactions