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

case fails when nils are present #202

Open
zlorf opened this issue Jun 11, 2019 · 0 comments
Open

case fails when nils are present #202

zlorf opened this issue Jun 11, 2019 · 0 comments

Comments

@zlorf
Copy link

zlorf commented Jun 11, 2019

Tested with newest version.

(case :b
  :a "A"
  :x nil
  :b "B"
  :y nil
  "DEFAULT")

Causes DEFAULT to be displayed, expected B. That is probably because of https://github.com/r0man/sablono/blob/master/src/sablono/compiler.clj#L120

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