bitloops-language
bitloops-language copied to clipboard
No casting available
Describe the bug Casting is not available in BL.
Example:
const startingYear: int32 = startingDateString.split('/').pop();
This one gives error
Solution
We should have something like
const startingYear: int32 = startingDateString.split('/').pop().toInt();
or
const startingYear: int32 = (int32) startingDateString.split('/').pop();
Expected behavior A clear and concise description of what you expected to happen.