Skip to content

combining char/int/etc casts in one statement causes preproc trouble #1936

Description

@hamoid

Doing one line test programs I just discovered that char(int(65.0)); provokes a null pointer exception when it's the only code in the program. Inside setup() it works fine.

I discovered trying to do something like
text(char(int(random(65, 90))), 9, 9);
which should be valid code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions