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

bugs in case's matching expression with variables #171

Closed
vulecoff opened this issue Oct 24, 2024 · 1 comment
Closed

bugs in case's matching expression with variables #171

vulecoff opened this issue Oct 24, 2024 · 1 comment

Comments

@vulecoff
Copy link
Contributor

vulecoff commented Oct 24, 2024

Reproducible code:

!(case (time $x) (
   ((is $a) (is))
   ($_ (none))
))
  • Expected: (none)
  • Actual: (is). This means that (time $x) somehow got matched against (is $a)
@vulecoff
Copy link
Contributor Author

Never mind it looks like (time $x) is a native call in Mettalog

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