This repository has been archived by the owner on Jan 22, 2022. It is now read-only.
Assignment of constant values should not generate conversion calls #20
Labels
bug
Something isn't working
Milestone
Describe the bug in detail:
When assigning a variable from a constant, in some cases a runtime conversion is generated, instead of simply ensuring the constant is the correct type.
Provide steps/code to reproduce the bug:
Expected behavior:
What was the excepted result?
A single array set instruction should be generated. However, in fact, a conversion is generated first:
The text was updated successfully, but these errors were encountered: