Skip to content

Commit

Permalink
wgsl-in: Fix bad span in assignment lhs error
Browse files Browse the repository at this point in the history
The wgsl frontend was emiting errors for lhs expressions on assignments
that weren't references using a span that didn't skip blankspaces
causing the span to look weird (like starting at the end of the previous
line)

This is fixed by consuming the blankspace before constructing the span
  • Loading branch information
JCapucho committed Jan 17, 2023
1 parent cdcfad2 commit e260a5c
Show file tree
Hide file tree
Showing 6 changed files with 359 additions and 133 deletions.
Loading

0 comments on commit e260a5c

Please sign in to comment.