Skip to content
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

chore: implement DataRef.schemaChildren() #893

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

alecthomas
Copy link
Collaborator

It was returning nil previously, resulting in the Visit() function never visiting the type parameters and all sorts of things failing!

Comment on lines 58 to 60
data Generic<T> {
value T
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we not want to test this still? How do we know if the imports are correct now?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah whoops you're right! Got too enthusiastic with git revert!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Restored that and added another test for verb references.

@alecthomas alecthomas force-pushed the aat/fix-dataref-children branch 2 times, most recently from 3338b1d to cc6b1d9 Compare February 7, 2024 19:51
It was returning nil previously, resulting in the Visit() function never
visiting the type parameters and all sorts of things failing!
@alecthomas alecthomas force-pushed the aat/fix-dataref-children branch from cc6b1d9 to 5fda2cf Compare February 7, 2024 19:54
@alecthomas alecthomas merged commit 408bcf9 into main Feb 7, 2024
11 checks passed
@alecthomas alecthomas deleted the aat/fix-dataref-children branch February 7, 2024 20:12
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.

2 participants