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

rbx_reflection: Superclass Iterator v2 #453

Closed
wants to merge 6 commits into from

Conversation

krakow10
Copy link
Contributor

@krakow10 krakow10 commented Oct 6, 2024

Depends on #452

I had an idea about how to simplify the implementation of the superclass iterator. The function signature is more like the Roblox function where invalid class names are ignored and return false. I could go either way on this. On the one hand, behaviour does match Roblox better, but forcing the user to provide valid classes has some merit in terms of reporting an error rather than silently failing.

@krakow10
Copy link
Contributor Author

krakow10 commented Oct 6, 2024

I changed my mind. Explicit class name verification is best, the roblox behaviour of silently failing can be implemented downstream. Long live Superclass Iterator v1

@krakow10 krakow10 closed this Oct 6, 2024
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.

1 participant