Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Confusing error messages on type mismatch
2 participants