8000 toLeopard: Handle procedure_calls to missing proc codes · Issue #111 · leopard-js/sb-edit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
toLeopard: Handle procedure_calls to missing proc codes #111
Open
@towerofnix

Description

@towerofnix

Scratch just skips interpreting these blocks - in toLeopard.ts it's currently an error. We should probably report the error in generated code, something like:

if (!procedureDefinition) {
  blockSource = `void undefined; /* ${sprite.name} doesn't have a custom block ${block.inputs.PROCCODE.value} */`;
  break;
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcompatibilityMismatch or currently unsupported language behaviorfmt: LeopardPertains to Leopard format (JavaScript)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0