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
- What OS did you do install Mojo on ? MacOS 14.5
- Provide version information for Mojo by pasting the output of `mojo -v` mojo 2024.7.2205 (9b0e6242)
- Provide Modular CLI version by pasting the output of `modular -v` modular 0.7.1 (28ddab26)
The text was updated successfully, but these errors were encountered:
Possibly related to #3126, but this issue still persists. It seems like it has something to do with compile time. When the List of functions is given as a default argument, the pointers to the functions show up as 0x0 when inspecting the List in the debugger. But they only show up as 0x0 when iterating over the list, the pointer addresses look correct up until that point.
Bug description
Given a Struct like
Specifying a default argument value for
funcs
in the__init__()
function signature leads to an OOB error when attempting to access the functions.Steps to reproduce
Example
System information
The text was updated successfully, but these errors were encountered: