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

Variable binding is wrong on if-let #500

Closed
lucascs opened this issue Sep 17, 2014 · 3 comments
Closed

Variable binding is wrong on if-let #500

lucascs opened this issue Sep 17, 2014 · 3 comments
Labels
bug Marks issues describing bugs released Marks issues which have had the fixes released in a stable build released-eap Marks issues which have had the fixes released in an EAP build
Milestone

Comments

@lucascs
Copy link

lucascs commented Sep 17, 2014

If I write:

(if-let [a (something)]
  (do-something a)
  (do-a-different-thing a))

a is not available on the do-a-different-thing branch (else), only on the do-something (then).

Cursive should mark the second usage of a as an unbound var.

@danielcompton
Copy link
Collaborator

This is still present in 0.1.58.

@cursive-ide
Copy link
Owner

Fix released in 1.13.1-eap4 on 2023-09-19.

@cursive-ide cursive-ide added the released-eap Marks issues which have had the fixes released in an EAP build label Oct 30, 2023
@cursive-ide
Copy link
Owner

Fix released in 1.13.1 on 2023-12-07.

@cursive-ide cursive-ide added the released Marks issues which have had the fixes released in a stable build label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Marks issues describing bugs released Marks issues which have had the fixes released in a stable build released-eap Marks issues which have had the fixes released in an EAP build
Projects
None yet
Development

No branches or pull requests

3 participants