GithubHelp home page GithubHelp logo

Comments (5)

yurrriq avatar yurrriq commented on May 12, 2024

Hmm... Can you help me reproduce your issue?

What did you try that led you to the following conclusion?

Trying to add a require doesn't help either.

Here's a little info about my personal setup, which may be slightly different from xclojure.

My etl dir looks like this:

etl
├── README.md
├── project.clj
├── src
│   └── etl.clj
└── test
    └── etl_test.clj

As such, my project.clj does not have:

  :source-paths [""]
  :test-paths   [""]

My test/etl_test.clj starts like this:

(ns etl-test
  (:require [clojure.core.typed :refer [check-ns]]
            [clojure.test :refer :all]
            etl)) ; <= Apparently, I'm requiring etl

and ends like this:

(deftest type-annotations
  (is (check-ns 'etl)))

Everything between is identical to xclojure.

from clojure.

yurrriq avatar yurrriq commented on May 12, 2024

I've checked out the xclojure repo and had no trouble running the tests agains the example solution.

ln -s example.clj etl.clj
etl
├── etl.clj -> example.clj
├── etl_test.clj
├── example.clj
└── project.clj

project.clj:

  :source-paths [""]
  :test-paths   [""]

etl_test.clj

(ns etl-test
  (:require [clojure.test :refer :all]))

from clojure.

yurrriq avatar yurrriq commented on May 12, 2024

Will you please send me (a link to) your code? Maybe I can spot the issue.

from clojure.

MiyamotoAkira avatar MiyamotoAkira commented on May 12, 2024

Sorry for the delay. I will close the issue. The issue is not directly related to xclojure. Seems that Cider 0.9.1 has issues locating the file with the code. Happened on both Leap and Etl. But I only tried Etl outside of Cider. And there was a false negative in there. Once I saw your post and tried again I was able to eliminate the false negative. Tried installing Cider 0.10.0 and seems to work.

from clojure.

yurrriq avatar yurrriq commented on May 12, 2024

Great! I'm glad you got it figured out.

from clojure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.