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

BUG - Array variable declaration #1

Closed
r-koubou opened this issue Mar 20, 2018 · 1 comment
Closed

BUG - Array variable declaration #1

r-koubou opened this issue Mar 20, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@r-koubou
Copy link
Owner

EXPECT

declare const $size := 1*2+1  { operator includes }
declare %array[$size]         { OK }

or

declare const $size := 3      { Literal }
declare %array[$size]         { OK }

NOW

Built-in to VScode Extention v0.3.14(current version)

declare const $size := 1*2+1  { operator includes }
declare %array[$size]         { Parser Error: "%array: Invalid array size" }

or

declare const $size := 3      { Literal }
declare %array[$size]         { OK }

NOTE

This bug has been fixed on stable-20180315

However, Not applied to VSCode Extension yet.
It is going to be applied in a few days. (Work in progress)

@r-koubou r-koubou added the bug Something isn't working label Mar 20, 2018
@r-koubou r-koubou self-assigned this Mar 20, 2018
@r-koubou
Copy link
Owner Author

Work in progress.
Branch: bug/issue_20180320

@r-koubou r-koubou changed the title Bug - Array variable declaration BUG - Array variable declaration Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant