Skip to content

Remove redundant run-time check for compile-time guarentees in Reflection #7372

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

Closed
wants to merge 1 commit into from

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Aug 13, 2021

Pretty sure these things are check during compilation and cannot happen at run-time.

@nikic
Copy link
Member

nikic commented Aug 14, 2021

I think these are not checked for closures during compile-time.

@nikic
Copy link
Member

nikic commented Aug 17, 2021

Tests added in fc6f3d1.

@nikic nikic closed this Aug 17, 2021
nikic added a commit that referenced this pull request Aug 17, 2021
Inspired by GH-7372, to show that these are not dead code.
@Girgias Girgias deleted the reflection-cleanup branch September 3, 2021 20:53
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