formal variable name: IVar NONE is strictly spoken not supported on lhs of function definitions, e.g. in Scala
authorhaftmann
Thu, 12 Jun 2014 18:02:39 +0200
changeset 57249 5c75baf68b77
parent 57248 5496011859eb
child 57250 cddaf5b93728
formal variable name: IVar NONE is strictly spoken not supported on lhs of function definitions, e.g. in Scala
src/Tools/Code/code_target.ML
--- a/src/Tools/Code/code_target.ML	Thu Jun 12 18:47:27 2014 +0200
+++ b/src/Tools/Code/code_target.ML	Thu Jun 12 18:02:39 2014 +0200
@@ -437,7 +437,7 @@
     val ty' = ITyVar v' `-> ty;
     val program = prepared_program
       |> Code_Symbol.Graph.new_node (Code_Symbol.value,
-          Code_Thingol.Fun (((vs', ty'), [(([IVar NONE], t), (NONE, true))]), NONE))
+          Code_Thingol.Fun (((vs', ty'), [(([IVar (SOME "dummy")], t), (NONE, true))]), NONE))
       |> fold (curry (perhaps o try o
           Code_Symbol.Graph.add_edge) Code_Symbol.value) syms;
     val (program_code, deresolve) =