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

[wgsl-in] Write a real type in type mismatch error #1658

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

Gordon-F
Copy link
Collaborator

Fix #1655

error: the type of `x` is expected to be `i32`
  ┌─ wgsl:3:9
  │
3 │     var x: u32 = 0;
  │         ^ definition of `x`

Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

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

Superb!

@kvark kvark merged commit 298a8c3 into gfx-rs:master Jan 10, 2022
@kvark kvark added the can backport PR that can be back-ported to a release branch label Jan 10, 2022
@kvark kvark mentioned this pull request Jan 12, 2022
@kvark
Copy link
Member

kvark commented Jan 12, 2022

Published in naga-0.8.2

@kvark kvark removed the can backport PR that can be back-ported to a release branch label Jan 12, 2022
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.

Confusing error messages on type mismatch
2 participants