Skip to content

Variable name bug #6201

Closed
microsoft/pxt
#10587
@thsparks

Description

@thsparks

Describe the bug
Variable names seem to be getting replaced with "blockly-#" in certain scenarios (local builds only at the moment).

To Reproduce
Steps to reproduce the behavior:

  1. Build and run localhost (bug is not in live)
  2. Create a variable and drag in a "set" block for it
  3. Right click and look at the "create getter" option in the menu
  4. Expect: Create 'get myVar'
  5. Actual: Create 'get blockly-1'

Image

I saw this happen once while undo-ing changes, it changed the block itself to say blockly-1, but not sure on exact repro for that.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions