Skip to content

Typed Temporary Variables #6089

Description

@bidinzky

Is your feature request related to a problem? Please describe.

I am generating Typed Code from Blockly, that itself works.
But i can't set a type for temporary varaibles.
So i can't generate correct code.

Describe the solution you'd like

Extend Block.getDeveloperVars from List to List<string|[string,string]>.
So you can still be Backwards compatible with existing Code but also give the option to use ["varName", "varType"] for typed Code.

Describe alternatives you've considered

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    • Status
      Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions