bobjervis / parasol

The Parasol Language and related core development tools
Apache License 2.0
2 stars 2 forks source link

Conversion from floating-point to enum types fail. #9

Closed bobjervis closed 7 years ago

bobjervis commented 9 years ago

Like the bug converting the opposite way, the conversion needs an extra integer register, which can be accomplished by fold'ing this cast into a two-stage cast, the first to convert to long, then to enum.

bobjervis commented 7 years ago

Fixed as a by-product of work on enums.