diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-03-19 18:46:54 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-03-19 18:52:45 +0100 |
commit | 2cf8f76ea6a15d46b57d5c4ecf9513683561e284 (patch) | |
tree | c27263459f294a963966a2c0086793a8db460dd5 /printing/genprint.ml | |
parent | 87250b5090740e06aa717a45f05554a6804aa940 (diff) |
Removing the untyped representation of genargs.
Diffstat (limited to 'printing/genprint.ml')
-rw-r--r-- | printing/genprint.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/printing/genprint.ml b/printing/genprint.ml index d8bd81c4c..0ec35e07b 100644 --- a/printing/genprint.ml +++ b/printing/genprint.ml @@ -19,8 +19,9 @@ module PrintObj = struct type ('raw, 'glb, 'top) obj = ('raw, 'glb, 'top) printer let name = "printer" - let default wit = match unquote (rawwit wit) with - | ExtraArgType name -> + let default wit = match wit with + | ExtraArg tag -> + let name = ArgT.repr tag in let printer = { raw = (fun _ -> str "<genarg:" ++ str name ++ str ">"); glb = (fun _ -> str "<genarg:" ++ str name ++ str ">"); |