-
Notifications
You must be signed in to change notification settings - Fork 177
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
Move leftover code from the info middleware to orchard #594
Move leftover code from the info middleware to orchard #594
Conversation
4ee0d0a
to
17ce4a5
Compare
Just to clarify: this is dependent on clojure-emacs/orchard#37, right? |
Yep |
17ce4a5
to
9194473
Compare
Problem found it this stash the stacktrace here:
|
cf70594
to
a2891f5
Compare
This part should be done as well, will check the tests and try CircleCI. Now I am eager to expand on it so that I can finally go to my original issue of having spec in ClojureScript 😄 |
a2891f5
to
c29508f
Compare
After rebasing I started receiving a:
Will need to understand what is going on. |
c29508f
to
e5412e6
Compare
Going back to the commit before the MrAnderson (2249b55) bump to |
Please, create an issue in MrAnderson. I'm sure @benedekfazekas will quickly figure out what went wrong. |
|
037113a
to
77aac29
Compare
Is there a way to test this against the latest orchard (or is I get the following in CircleCI:
|
77aac29
to
8e32ea2
Compare
Rebased this boy as well. |
@bbatsov Maybe you've already told me this, but do you think this xref function should call the new |
e8fdaff
to
6ca8bd9
Compare
I see these tests failing but I they do not fail on my machine for some reason. |
@bbatsov I am trying to understand why the code is failing in
The input Does it ring any bell 🔔 😄 ? |
Ping @bbatsov 😄 |
Yeah, maybe.
Which code triggers this?
Haven't seen this, but it seems obvious what the problem is looking at the stacktrace. |
@bbatsov I receive it from the tests here: |
Hmm, I guess I was running the test locally without running MrAnderson. Does the test pass for you without it? |
You mean on |
Ok so I can confirm this happens on |
6ca8bd9
to
1832c4e
Compare
You'll also have to remove the duplicated boot-related code. Grep for boot and you'll see what I mean. |
Ok cool will do |
TODOs here (for myself mainly):
|
… orchard This patch copies the leftover "business logic" from the `info` middleware to the `orchard` `info` function. This will make the `info` function in `orchard` self-contained, which is easier to test and more portable (one could use `orchard` without the `nrepl` protocol for instance - say for a Language Server Protocol implementation). It also moves calls to cljs-analysis to the ones in the orchard. Only completion is still done in cljs-tooling.
Given that orchard now returns a namespace symbol instead of an object, we have to trigger a find-ns in the debug middleware instrumentation code.
1832c4e
to
b02a8bd
Compare
Woot! |
This patch copies the leftover "business logic" from the
info
middleware tothe
orchard
info
function. This will make theinfo
function inorchard
self-contained, which is easier to test and more portable (one could use
orchard
without thenrepl
protocol for instance - say for a Language ServerProtocol implementation).