Skip to content

Macros in macros #379

Closed
Closed
@Bromeon

Description

@Bromeon

Our proc-macros don't work very well if the body contains declarative macros. Sometimes, other (non-gdext) attributes like #[allow(...)] also cause problems.

This should be addressed, possibly needs upstream venial changes.

Ideally, the order of attribute macros should not matter, either.

#[rustfmt::skip]
#[itest]
fn test_xy() {}
#[itest]
#[rustfmt::skip]
fn test_xy() {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugc: registerRegister classes, functions and other symbols to GDScript

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions