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

Context aware variable existence detection fails on inline functions #37

Closed
SkaceKamen opened this issue Oct 25, 2018 · 1 comment
Closed
Assignees
Labels

Comments

@SkaceKamen
Copy link
Owner

Context aware detection fails under cenrtain conditions

_array = [];
_something = 1;

// _something is reported undefined
_array select { _x == _something }; 

// _something is reported undefined
_array findIf { _x == _something };

// _something, _array is reported undefined in the inner blocks
(count(_array) == 1 && { count(_array) == 1 && { _someting == 1 && count(_array) == 0 } });

(moved from #36)

@SkaceKamen SkaceKamen added the bug label Oct 25, 2018
@SkaceKamen SkaceKamen self-assigned this Oct 25, 2018
@SkaceKamen SkaceKamen changed the title Context aware variable existence detection fails on inline functions. Context aware variable existence detection fails on inline functions Oct 25, 2018
SkaceKamen added a commit that referenced this issue Nov 1, 2018
@SkaceKamen
Copy link
Owner Author

Fixed in 0.9.5

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

No branches or pull requests

1 participant