ClojureCLR

Error running recursion example from

Details

  • Type: Defect Defect
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Windows 7, 64 bit

Description

The "factorial-1" example from Mark Volkmann's tutorial gives an error when run on ClojureCLR. The error is shown below:

c:\cljdev\clojure-clr-1.4.0-Debug-4.0\Debug 4.0>Clojure.Main.exe c:\users\amyers
\Desktop\factorial-1.clj

Unhandled Exception: System.MissingMethodException: Cannot find member box match
ing args
at CallSite.Target(Closure , CallSite , Object , Int64 )
at CallSite.Target(Closure , CallSite , Object , Int64 )
at user$factorial_1_5._interop_box7(Object , Int64 __temp_1)
at user$factorial_1__5.invoke(Object ) in eval:line 1
at user$eval_9_14.invoke() in eval:line 9
at clojure.lang.Compiler.eval(Object form) in D:\work\clojure-clr\Clojure\Clo
jure\CljCompiler\Compiler.cs:line 871
at clojure.lang.Compiler.load(TextReader rdr, String sourcePath, String sourc
eName, String relativePath) in D:\work\clojure-clr\Clojure\Clojure\CljCompiler\C
ompiler.cs:line 1385
at clojure.lang.Compiler.loadFile(String fileName) in D:\work\clojure-clr\Clo
jure\Clojure\CljCompiler\Compiler.cs:line 1342
at clojure/main$load_script__20722.invoke(Object ) in main.clj:line 301
at clojure/main$script_opt__20794.invoke(Object , Object ) in main.clj:line 3
62
at clojure/main$main__20838.doInvoke(Object ) in main.clj:line 446
at clojure.lang.RestFn.invoke(Object arg1) in D:\work\clojure-clr\Clojure\Clo
jure\Lib\RestFn.cs:line 468
at clojure.lang.Var.invoke(Object arg1) in D:\work\clojure-clr\Clojure\Clojur
e\Lib\Var.cs:line 741
at clojure.lang.AFn.ApplyToHelper(IFn fn, ISeq argList) in D:\work\clojure-cl
r\Clojure\Clojure\Lib\AFn.cs:line 191
at clojure.lang.Var.applyTo(ISeq arglist) in D:\work\clojure-clr\Clojure\Cloj
ure\Lib\Var.cs:line 874
at Clojure.CljMain.Main(String[] args) in D:\work\clojure-clr\Clojure\Clojure
.Main\Main.cs:line 34

Activity

David Miller made changes -
Field Original Value New Value
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: