Skip to content

A test case project to reproduce the repl error message.

Notifications You must be signed in to change notification settings

lsyoyo/test-repl-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test-error

This project is generated using luminus by command:

lein new luminus test-error +site

The only addon is shown in commit 2.

  1. A test java file is put in src/java.
  2. The file is referred in clj/routes/home.clj
  3. project.clj. added java-source-paths to include the src path.

Steps to re-produce the error:

  1. lein clean
  2. lein repl

And a single line of change to make it work. comment out routes/home.clj:6 the line importing the java code. And interestingly, if a repl is run after the the line is commented out, the line can be un-commented and "eval"=ed without issue in repl.

Base on the above observation, my suspicion is. somehow javac task is not run properly before compile because of that single line of routes/home.clj:6?

About

A test case project to reproduce the repl error message.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages