Skip to content

fix: Make VmType generate correct variant constructors#902

Open
Marwes wants to merge 1 commit intogluon-lang:masterfrom
Marwes:issue_901
Open

fix: Make VmType generate correct variant constructors#902
Marwes wants to merge 1 commit intogluon-lang:masterfrom
Marwes:issue_901

Conversation

@Marwes
Copy link
Copy Markdown
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