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

Fix VM's sametype impl to work for generics/typedescs #19073

Merged
merged 3 commits into from
Nov 2, 2021

Conversation

beef331
Copy link
Collaborator

@beef331 beef331 commented Oct 30, 2021

Should close the following: #19072 #14021

compiler/vm.nim Outdated Show resolved Hide resolved
@alaviss alaviss linked an issue Nov 1, 2021 that may be closed by this pull request
@Araq Araq merged commit cc98421 into nim-lang:devel Nov 2, 2021
PMunch pushed a commit to PMunch/Nim that referenced this pull request Mar 28, 2022
* Fix vm's sametype implementation to properly handle generics and typedescs

* actually fixed sametype + have test

* added comments and removed unsafe code
narimiran pushed a commit that referenced this pull request Apr 24, 2023
* Fix vm's sametype implementation to properly handle generics and typedescs

* actually fixed sametype + have test

* added comments and removed unsafe code

(cherry picked from commit cc98421)
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.

sameType on two uninstantiated generic parameter yields true
2 participants