Skip to content

ElseIf statements are nested in an Else #537

Closed
@robertleeplummerjr

Description

@robertleeplummerjr

A GIF or MEME to give some spice of the internet

What is wrong?

Else if statements in both GPU and CPU look like this after they are transpiled:

else {
    if (statement) {
      // logic here
    }
}

I believe they should look like this:

else if (statement) {
  // logic here
}

Where does it happen?

How do we replicate the issue?

How important is this (1-5)?

2

Expected behavior (i.e. solution)

Other Comments

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions