Skip to content

HLSL struct member functions #517

@sagacity

Description

@sagacity

Struct member functions don't seem to parse correctly, e.g.:

struct Foo {
   void someFunction() {}
};

This results in:

Parse error: Error in input: Ln: 2 Col: 21
   void someFunction() {}
                    ^
Expecting: ',', ':', ';', '=' or '['

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions