Skip to content

PuyaPy: support _ variable for ignored variables #84

@daniel-makerx

Description

@daniel-makerx

Currently using _ as a variable name is not supported in PuyaPy as MyPy treats this as a union type, and union types are not supported in PuyaPy. However this is a common python convention and should be supported.

Current work around is to use a unique var name prefixed with _ e.g. _ignored

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions