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

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

Open
bdunderscore opened this issue May 10, 2020 · 0 comments
Open
Labels
bug Something isn't working
Milestone

Comments

@bdunderscore
Copy link
Collaborator

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.

@bdunderscore bdunderscore added the bug Something isn't working label May 10, 2020
@MerlinVR MerlinVR added this to the UdonSharp 1.0 milestone Aug 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants