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: Make VmType generate correct variant constructors #902

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Marwes
Copy link
Member

@Marwes Marwes commented Jan 8, 2021

The opaque return type was likely a quick hack that went unnoticed. I
also had to force caching on the enum since the Symbol values created
for the variants and the returned enum will otherwise be different
between multiple VmType::make_type invocations (unless

Fixes #901

The opaque return type was likely a quick hack that went unnoticed. I
also had to force caching on the enum since the `Symbol` values created
for the variants and the returned enum will otherwise be different
between multiple `VmType::make_type` invocations (unless

Fixes gluon-lang#901
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.

Rust Enum in Struct in Enum causes bottom level enum constructor to change type?
1 participant