nasser / magic

Morgan And Grand Iron Clojure
http://nas.sr/magic/
365 stars 17 forks source link

dynamic-zero-arity problem #44

Open timsgardner opened 5 years ago

timsgardner commented 5 years ago
(ac/defmutable CoroutineManagerState [^System.Single since-last, ^System.Single period])

(ac/defrole simple-coroutines-manager
  :state (ac/snapshot
           (->CoroutineManagerState 0 20))
  (update [obj k]
    (m/faster
      (let [cms ^CoroutineManagerState (ac/lookup obj k)]
        (if (< (.since-last cms) (.period cms))
          (ac/sets! cms since-last (+ 1 (.since-last cms)))
          (do
            (make-simple-coroutine-object)
            (ac/sets! cms since-last 0)))))))

throws:

arcadiatech.state-lab.coroutine-tracker.dev=> 
System.Exception: carrier ---> clojure.lang.Compiler+CompilerException: clojure.lang.ExceptionInfo: ast-type not implemented for :op :dynamic-zero-arity while analyzing (.since-last cms) {}, compiling: (NO_SOURCE_PATH:21:112) ---> clojure.lang.ExceptionInfo: ast-type not implemented for :op :dynamic-zero-arity while analyzing (.since-last cms)
  at magic$analyzer$types$fn__42432__42436.invokeStatic (System.Object ) [0x000ce] in <6a6cd857627441738e8103c3c353ba37>:0 
  at magic$analyzer$types$fn__42432__42436.invoke (System.Object ) [0x00000] in <6a6cd857627441738e8103c3c353ba37>:0 
  at clojure.lang.MultiFn.invoke (System.Object arg1) [0x0001c] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure$core$mapfn__21806__21810.invoke () [0x00108] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure.lang.LazySeq.sval () [0x00008] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at (wrapper synchronized) clojure.lang.LazySeq.sval()
  at clojure.lang.LazySeq.seq () [0x00000] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at (wrapper synchronized) clojure.lang.LazySeq.seq()
  at clojure.lang.RT.seq (System.Object coll) [0x00016] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure$core$seq__19089__19092.invokeStatic (System.Object ) [0x00000] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$core$seq__19089__19092.invoke (System.Object ) [0x00000] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$core$every_QMARK___21750.invokeStatic (System.Object , System.Object ) [0x0000a] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$core$every_QMARK___21750.invoke (System.Object , System.Object ) [0x00000] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at magic$analyzer$types$best_numeric_promotion__42428.invokeStatic (System.Object ) [0x00019] in <6a6cd857627441738e8103c3c353ba37>:0 
  at magic$analyzer$types$best_numeric_promotion__42428.invoke (System.Object ) [0x00000] in <6a6cd857627441738e8103c3c353ba37>:0 
  at magic$intrinsics$numeric_args__47084.invokeStatic (System.Object ) [0x00113] in <c9222bdabaa9458c97fcf87a05065f7a>:0 
  at magic$intrinsics$numeric_args__47084.invoke (System.Object ) [0x00000] in <c9222bdabaa9458c97fcf87a05065f7a>:0 
  at magic$intrinsics$fn__47245__47249.invokeStatic (System.Object ) [0x0000a] in <c9222bdabaa9458c97fcf87a05065f7a>:0 
  at magic$intrinsics$fn__47245__47249.invoke (System.Object ) [0x00000] in <c9222bdabaa9458c97fcf87a05065f7a>:0 
  at magic$analyzer$intrinsics$analyze__42991.invokeStatic (System.Object ) [0x0024d] in <75fa3934834548248a524962db446814>:0 
  at magic$analyzer$intrinsics$analyze__42991.invoke (System.Object ) [0x00000] in <75fa3934834548248a524962db446814>:0 
  at clojure.lang.Var.invoke (System.Object arg1) [0x00010] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure$tools$analyzer$passes$compile_passesfn__41347fn__41365__41369.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2b453530d48742859fd33c762f544659>:0 
  at clojure$tools$analyzer$passes$compile_passesfn__41347fn__41372__41376.invoke (System.Object , System.Object , System.Object ) [0x00020] in <2b453530d48742859fd33c762f544659>:0 
  at clojure$core$partialfn__21695__21703.invoke (System.Object ) [0x00000] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047__41057.invoke (System.Object , System.Object , System.Object , System.Object ) [0x0005b] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047walk__41050__41054.invoke (System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$_update_childrenfn__41005__41012.invoke (System.Object , System.Object ) [0x000af] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure.lang.PersistentVector.reduce (clojure.lang.IFn f, System.Object start) [0x00012] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure$core$reduce__29986.invokeStatic (System.Object , System.Object , System.Object ) [0x0000e] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$core$reduce__29986.invoke (System.Object , System.Object , System.Object ) [0x00000] in <75aedc
bf6ad14e4293bea1888c10ab1d>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invokeStatic (System.Object , System.Object , System.Object ) [0x00089] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invokeStatic (System.Object , System.Object , System.Object ) [0x000b7] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047__41057.invoke (System.Object , System.Object , System.Object , System.Object ) [0x0003c] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047walk__41050__41054.invoke (System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$_update_childrenfn__41005__41012.invoke (System.Object , System.Object ) [0x000af] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure.lang.PersistentVector.reduce (clojure.lang.IFn f, System.Object start) [0x00012] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure$core$reduce__29986.invokeStatic (System.Object , System.Object , System.Object ) [0x0000e] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$core$reduce__29986.invoke (System.Object , System.Object , System.Object ) [0x00000] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invokeStatic (System.Object , System.Object , System.Object ) [0x00089] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invokeStatic (System.Object , System.Object , System.Object ) [0x000b7] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047__41057.invoke (System.Object , System.Object , System.Object , System.Object ) [0x0003c] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047walk__41050__41054.invoke (System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$_update_childrenfn__41005__41012.invoke (System.Object , System.Object ) [0x000af] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure.lang.PersistentVector.reduce (clojure.lang.IFn f, System.Object start) [0x00012] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure$core$reduce__29986.invokeStatic (System.Object , System.Object , System.Object ) [0x0000e] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$core$reduce__29986.invoke (System.Object , System.Object , System.Object ) [0x00000] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invokeStatic (System.Object , System.Object , System.Object ) [0x00089] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invokeStatic (System.Object , System.Object , System.Object ) [0x000b7] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047__41057.invoke (System.Object , System.Object , System.Object , System.Object ) [0x0003c] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047walk__41050__41054
.invoke (System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$_update_childrenfn__41005__41012.invoke (System.Object , System.Object ) [0x000af] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure.lang.PersistentVector.reduce (clojure.lang.IFn f, System.Object start) [0x00012] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure$core$reduce__29986.invokeStatic (System.Object , System.Object , System.Object ) [0x0000e] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$core$reduce__29986.invoke (System.Object , System.Object , System.Object ) [0x00000] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invokeStatic (System.Object , System.Object , System.Object ) [0x00089] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invokeStatic (System.Object , System.Object , System.Object ) [0x000b7] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047__41057.invoke (System.Object , System.Object , System.Object , System.Object ) [0x0003c] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047walk__41050__41054.invoke (System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$_update_childrenfn__41005__41012.invoke (System.Object , System.Object ) [0x000af] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure.lang.PersistentVector.reduce (clojure.lang.IFn f, System.Object start) [0x00012] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure$core$reduce__29986.invokeStatic (System.Object , System.Object , System.Object ) [0x0000e] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$core$reduce__29986.invoke (System.Object , System.Object , System.Object ) [0x00000] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invokeStatic (System.Object , System.Object , System.Object ) [0x00089] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invokeStatic (System.Object , System.Object , System.Object ) [0x000b7] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047__41057.invoke (System.Object , System.Object , System.Object , System.Object ) [0x0003c] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047walk__41050__41054.invoke (System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$_update_childrenfn__41005__41012.invoke (System.Object , System.Object ) [0x000af] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure.lang.PersistentVector.reduce (clojure.lang.IFn f, System.Object start) [0x00012] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure$core$reduce__29986.invokeStatic (System.Object , System.Object , System.Object ) [0x0000e] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$core$reduce__29986.invoke (System.Object , System.Object , System.Object ) [0x00000] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invokeStatic (System.Object , System.Object , System.Object ) [0x00089] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf607
7551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invokeStatic (System.Object , System.Object , System.Object ) [0x000b7] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047__41057.invoke (System.Object , System.Object , System.Object , System.Object ) [0x0003c] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047walk__41050__41054.invoke (System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$utils$mapv_SINGLEQUOTE___40277.invokeStatic (System.Object , System.Object ) [0x0004f] in <44c7882829e44ad0bf67998550b51bff>:0 
  at clojure$tools$analyzer$utils$mapv_SINGLEQUOTE___40277.invoke (System.Object , System.Object ) [0x00000] in <44c7882829e44ad0bf67998550b51bff>:0 
  at clojure$tools$analyzer$ast$_update_childrenfn__41005__41012.invoke (System.Object , System.Object ) [0x000a5] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure.lang.PersistentVector.reduce (clojure.lang.IFn f, System.Object start) [0x00012] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure$core$reduce__29986.invokeStatic (System.Object , System.Object , System.Object ) [0x0000e] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$core$reduce__29986.invoke (System.Object , System.Object , System.Object ) [0x00000] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invokeStatic (System.Object , System.Object , System.Object ) [0x00089] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$_update_children__41015.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invokeStatic (System.Object , System.Object , System.Object ) [0x000b7] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$update_children_reduced__41023.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walkwalk__41047__41057.invoke (System.Object , System.Object , System.Object , System.Object ) [0x0003c] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walk__41060.invokeStatic (System.Object , System.Object , System.Object , System.Object ) [0x00014] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$walk__41060.invoke (System.Object , System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$postwalk__41075.invokeStatic (System.Object , System.Object , System.Object ) [0x0001a] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$postwalk__41075.invoke (System.Object , System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$postwalk__41075.invokeStatic (System.Object , System.Object ) [0x0000a] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$ast$postwalk__41075.invoke (System.Object , System.Object ) [0x00000] in <2cf6077551a34d408a52b14f07982d90>:0 
  at clojure$tools$analyzer$passes$compile_passesanalyze__41389__41399.invoke (System.Object ) [0x00046] in <2b453530d48742859fd33c762f544659>:0 
  at clojure$core$compfn__21564__21572.invoke (System.Object ) [0x0001c] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at magic$analyzer$analyze__43614.invokeStatic (System.Object , System.Object , System.Object ) [0x00211] in <388c9abdd1d248cdae970c01e4001037>:0 
  at magic$analyzer$analyze__43614.invoke (System.Object , System.Object , System.Object ) [0x00000] in <388c9abdd1d248cdae970c01e4001037>:0 
  at magic$faster$faster_type__47040.invokeStatic (System.Object , System.Object , System.Object ) [0x001a1] in <dd1b5fb5da8a4ad7a6d1d693505e1bdb>:0 
  at magic$faster$faste
r_type__47040.invoke (System.Object , System.Object , System.Object ) [0x00000] in <dd1b5fb5da8a4ad7a6d1d693505e1bdb>:0 
  at magic$api$faster__47623.invokeStatic (System.Object , System.Object , clojure.lang.ISeq ) [0x00082] in <c455f0f3ea904f62a6613d6a92bc4e47>:0 
  at magic$api$faster__47623.doInvoke (System.Object , System.Object , System.Object ) [0x00000] in <c455f0f3ea904f62a6613d6a92bc4e47>:0 
  at clojure.lang.RestFn.applyTo (clojure.lang.ISeq arglist) [0x000d2] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Var.applyTo (clojure.lang.ISeq arglist) [0x00006] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.MacroexpandSeq1 (clojure.lang.ISeq form) [0x0003e] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.AnalyzeSeq (clojure.lang.CljCompiler.Ast.ParserContext pcon, clojure.lang.ISeq form, System.String name) [0x000e0] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
   --- End of inner exception stack trace ---
  at clojure.lang.Compiler.AnalyzeSeq (clojure.lang.CljCompiler.Ast.ParserContext pcon, clojure.lang.ISeq form, System.String name) [0x001b4] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.Analyze (clojure.lang.CljCompiler.Ast.ParserContext pcontext, System.Object form, System.String name) [0x001ac] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.Analyze (clojure.lang.CljCompiler.Ast.ParserContext pcontext, System.Object form) [0x00000] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.CljCompiler.Ast.BodyExpr+Parser.Parse (clojure.lang.CljCompiler.Ast.ParserContext pcon, System.Object frms) [0x00048] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.CljCompiler.Ast.FnMethod.Parse (clojure.lang.CljCompiler.Ast.FnExpr fn, clojure.lang.ISeq form, System.Object retTag) [0x0037e] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.CljCompiler.Ast.FnExpr.Parse (clojure.lang.CljCompiler.Ast.ParserContext pcon, clojure.lang.ISeq form, System.String name) [0x0021b] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.AnalyzeSeq (clojure.lang.CljCompiler.Ast.ParserContext pcon, clojure.lang.ISeq form, System.String name) [0x00190] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.Analyze (clojure.lang.CljCompiler.Ast.ParserContext pcontext, System.Object form, System.String name) [0x001ac] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.AnalyzeSeq (clojure.lang.CljCompiler.Ast.ParserContext pcon, clojure.lang.ISeq form, System.String name) [0x00190] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.Analyze (clojure.lang.CljCompiler.Ast.ParserContext pcontext, System.Object form, System.String name) [0x001ac] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.CljCompiler.Ast.DefExpr+Parser.Parse (clojure.lang.CljCompiler.Ast.ParserContext pcon, System.Object form) [0x00250] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.AnalyzeSeq (clojure.lang.CljCompiler.Ast.ParserContext pcon, clojure.lang.ISeq form, System.String name) [0x00190] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.Analyze (clojure.lang.CljCompiler.Ast.ParserContext pcontext, System.Object form, System.String name) [0x001ac] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.Analyze (clojure.lang.CljCompiler.Ast.ParserContext pcontext, System.Object form) [0x00000] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.eval (System.Object form) [0x001d0] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.eval (System.Object form) [0x0012a] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure.lang.Compiler.eval (System.Object form) [0x00149] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure$core$eval__22334.invokeStatic (System.Object ) [0x00000] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at clojure$core$eval__22334.invoke (System.Object ) [0x00000] in <75aedcbf6ad14e4293bea1888c10ab1d>:0 
  at arcadia$internal$socket_repl$game_thread_evalfn__29094fn__29099__29111.invoke () [0x0
0011] in <f6286af9d8de49bfbf0aa71e8afabf35>:0 
   --- End of inner exception stack trace ---
  at arcadia$internal$socket_repl$game_thread_eval__29119.invokeStatic (System.Object , System.Object ) [0x0051c] in <f6286af9d8de49bfbf0aa71e8afabf35>:0 
  at arcadia$internal$socket_repl$game_thread_eval__29119.invoke (System.Object , System.Object ) [0x00000] in <f6286af9d8de49bfbf0aa71e8afabf35>:0 
  at arcadia$internal$socket_repl$game_thread_eval__29119.invokeStatic (System.Object ) [0x0000a] in <f6286af9d8de49bfbf0aa71e8afabf35>:0 
  at arcadia$internal$socket_repl$game_thread_eval__29119.invoke (System.Object ) [0x00000] in <f6286af9d8de49bfbf0aa71e8afabf35>:0 
  at clojure.lang.Var.invoke (System.Object arg1) [0x00010] in <fb1204dbf0b848beaab1559f81f1b22c>:0 
  at clojure$main$replread_eval_print__32312fn__32325__32329.invoke () [0x00000] in <eeebbfa37fc5485c851e5e5151e53a58>:0 
  at clojure$main$replread_eval_print__32312__32332.invoke () [0x00124] in <eeebbfa37fc5485c851e5e5151e53a58>:0 
nasser commented 5 years ago

It is losing track of the type of cms in the form

(.since-last cms)

despite cms being type hinted as CoroutineManagerState.

nasser commented 5 years ago

MAGIC is probably expecting

^CoroutineManagerState cms (ac/lookup obj k)

as opposed to

cms ^CoroutineManagerState (ac/lookup obj k)

we should see if this works in ClojureCLR