-
Notifications
You must be signed in to change notification settings - Fork 175
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
enlighten deftest forms #382
Labels
Comments
Yes, the debugger needed some special handling in order to support deftest forms, so enlighten will probably require something like that as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enlighten mode doesn't work with
deftest
forms becausedeftest
puts the test code in the var's metadata and puts a call totest-var
in the fn body.I think this can be resolved with something like what the debugger does but I can't say I really understand what's going on there.
Expected behavior
deftest
forms that are evalled withenlighten-mode
on would show enlighten info when run.Actual behavior
enlighten info is not shown
Steps to reproduce the problem
Step 1: Write some code like this:
Step 2: Turn on enlighten mode and eval both forms
Step 3: Run
(not-a-test)
and(a-test)
See that enlighten displayed the value of a for
not-a-test
but did not fora-test
Environment & Version information
cider-nrepl version
0.14.0
Java version
1.8
Operating system
Mac OS X
The text was updated successfully, but these errors were encountered: