Skip to content

tree shaking doesn't get rid of dead hex literal #7690

Open

Description

  • see https://makecode.microbit.org/_fY9cVRgEp1VD and the compiler error on download
  • the variable rocketJourney in animations.ts (let clause) is not used anywhere in the code.
  • if you comment out this line, the project builds.
  • if you uncomment the line, the project fails

The same problem occurs if you replace "let" with "const" in animations.ts

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

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions