Clojure-Intro-Course / clojure-intro-class

NOTE: This repository is obsolete. Was: A pilot project to use Clojure for introductory computer science courses at the University of Minnesota - Morris
20 stars 3 forks source link

Get location info from spec #123

Open elenam opened 8 years ago

elenam commented 8 years ago

There are cases when spec location info points to core, not to the student's file. I am not sure what causes it. So far I just changed the expected location info in student_test.clj to make the tests pass, but this is obviously not ideal.

real-mj-song commented 8 years ago

The spec location info points to clojure.core when the function is overwritten and uses 'apply' in the overwritten function. There may be other cases. For instance, we need to look into cases like secondary errors.

elenam commented 8 years ago

Let's postpone secondary errors for now: I suspect/hope this may be changing in a newer version.