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

interp: fix default type for constants from runtime #1029

Merged
merged 1 commit into from Feb 3, 2021
Merged

Conversation

mvertes
Copy link
Member

@mvertes mvertes commented Feb 2, 2021

The default type must be derived from the constant value when necessary,
otherwise the type check fails wrongly.

Fixes #1026.

The default type must be derived from the constant value.

Fixes #1026.
@mvertes mvertes added bug Something isn't working area/core labels Feb 2, 2021
@mvertes mvertes added this to the v0.9.x milestone Feb 2, 2021
@traefiker traefiker merged commit 3f4e166 into master Feb 3, 2021
@traefiker traefiker deleted the fix-1026 branch February 3, 2021 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using a string const "overflows ptr"
3 participants