Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No casting available #505

Open
giorgosnty opened this issue Jul 6, 2023 · 0 comments
Open

No casting available #505

giorgosnty opened this issue Jul 6, 2023 · 0 comments

Comments

@giorgosnty
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant