Thanks to visit codestin.com
Credit goes to github.com

Skip to content

behaviour of empty statement is {Next} #2431

@dneto0

Description

@dneto0

There are a few cases where an empty statement, or absence of a statement can sneak in:

  • for ( ; false ; ) has no initializer or update statement
  • loop { continuing{ if (true) {break;} } } has no loop body statement

We need to add a row to the statement behaviours table, for the empty statement case.
And then in that case we can get rid of the rule about {} having behaviour of {Next} because we compose it from two other rules.

Metadata

Metadata

Assignees

Labels

wgslWebGPU Shading Language Issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions