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

orchard.xref: include info for test vars #177

Merged
merged 3 commits into from
Aug 9, 2023
Merged

orchard.xref: include info for test vars #177

merged 3 commits into from
Aug 9, 2023

Conversation

vemv
Copy link
Member

@vemv vemv commented Aug 6, 2023

  • Clean up orchard.xref-test
    • expected<->actual order mainly.
  • orchard.xref: include info for test vars
  • orchard.xref: avoid returning duplicate var objects
    • e.g. #{#'foo/bar #'foo/bar}, this is possible as one reloads code.
    • we'll always pick the latest one, by simple resolve.

Cheers - V

@vemv vemv requested a review from bbatsov August 6, 2023 14:19
(symbol (str (ns-name ns))
(str name))))

(defn var->fn [var-ref]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing you meant to have this one be private as well.

@bbatsov
Copy link
Member

bbatsov commented Aug 9, 2023

Looks good overall.

@vemv
Copy link
Member Author

vemv commented Aug 9, 2023

Thanks!

@vemv vemv merged commit 178c7e3 into master Aug 9, 2023
@vemv vemv deleted the 798--xref-test branch August 9, 2023 08:23
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

Successfully merging this pull request may close these issues.

fn-refs never returns references from tests
2 participants