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

where/error gives uninformative error message #193

Open
florence opened this issue Sep 20, 2019 · 0 comments
Open

where/error gives uninformative error message #193

florence opened this issue Sep 20, 2019 · 0 comments

Comments

@florence
Copy link
Contributor

Consider:

#lang racket
(require redex/reduction-semantics)
(define-language L)
(define-metafunction L
  [(test any)
   #f
   (where/error 1 any)])
(term (test 2))

Which gives the error message define-metafunction: where/error did not match. It would be more helpful if this error message include the term that failed to match and the what the call to the metafunction was (like side-condition).

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