Skip to content

Conversation

@markwpearce
Copy link
Collaborator

Needed to add a whole new ReferenceType for this use case!

Because the for-each-loop target was defined on a namespace, it wasn't defined yet at File-validation time (Namespaces are only defined at scope linking), so the default type was unknown.

Now that we have a reference type for this particular case, the array symbol can be defined in the future, and the for-each item will be automatically known.

image

@markwpearce markwpearce added this to the v1.0.0 milestone Mar 14, 2024
Copy link
Member

@TwitchBronBron TwitchBronBron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and this works great. Thanks!

@TwitchBronBron TwitchBronBron merged commit 5ac2d15 into release-1.0.0 Mar 14, 2024
@TwitchBronBron TwitchBronBron deleted the get_default_type_of_const_array branch March 14, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants