Skip to content

Lua generators use None instead of nil #6720

@NathanSnail

Description

@NathanSnail

This causes
image
this generates list = {None, None, None} print(#list) printing 0

Expected Behavior:
The generator should produce list = {nil, nil, nil} print(#list) printing 3

To Fix

  1. In the list block-code generators. Change references to 'None' to 'nil'.
  2. Update the block-code generator tests if they are failing.

Metadata

Metadata

Assignees

Labels

breaking changeUsed to mark a PR or issue that changes our public APIs.component: generatorsgood first issueissue: bugDescribes why the code or behaviour is wrongsize: smallBugs that can be picked up and completed in 1-3 days

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions