Skip to content

Bitwise operations between uint and integer literals fail to compile #23

@bdunderscore

Description

@bdunderscore

Describe the bug in detail:
The following code fails to compile:

public class GameObject1 : UdonSharpBehaviour
{

    void Start()
    {
        uint q = 0;
        q = (q ^ 1);
    }
}

Provide steps/code to reproduce the bug:
See above.

Expected behavior:
This code should compile successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions