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

introduce type fences in runtime values #1306

Merged
merged 1 commit into from
Dec 13, 2023
Merged

introduce type fences in runtime values #1306

merged 1 commit into from
Dec 13, 2023

Conversation

konnov
Copy link
Contributor

@konnov konnov commented Dec 13, 2023

Following this discussion, here are defensive checks in runtime values, so we don't have to test for exact type in the compiler code. Interestingly, one of the tests has triggered an exception, since REPL passes through type-incorrect expressions. (We should disable that at some point).

  • Tests added for any new code

@konnov konnov requested review from shonfeder and bugarela December 13, 2023 12:26
Copy link
Collaborator

@bugarela bugarela left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this!

@konnov konnov merged commit aaa3b71 into main Dec 13, 2023
15 checks passed
@konnov konnov deleted the igor/rv-defense branch December 13, 2023 13:39
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