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

[Bug] [ir] Fix implicit cast warning for global stores #4834

Merged
merged 1 commit into from
Apr 22, 2022

Conversation

strongoier
Copy link
Contributor

Related issue = fix #4833

The previous logic is buggy because dst_value_type != stmt->val->ret_type can never happen after inserting the implicit type cast.

@netlify
Copy link

netlify bot commented Apr 21, 2022

Deploy Preview for docsite-preview canceled.

Name Link
🔨 Latest commit ac9c294
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/626113d988191d00085d5fbd

Copy link
Member

@k-ye k-ye left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@lin-hitonami lin-hitonami left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

Type check fails to warn implicit cast for global stores
4 participants