[Pkg-ocaml-maint-commits] [atdgen] 09/16: Imported Upstream version 1.7.2

Stéphane Glondu glondu at moszumanska.debian.org
Thu Jan 28 10:29:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository atdgen.

commit 7c22d50abda65b03b323cfa2bd3e04005296c813
Author: Stephane Glondu <steph at glondu.net>
Date:   Thu Jan 28 09:52:14 2016 +0100

    Imported Upstream version 1.7.2
---
 opam              | 2 +-
 src/Makefile      | 2 +-
 src/ag_ov_emit.ml | 3 ++-
 test/test.atd     | 6 ++++++
 4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/opam b/opam
index 5be8b8e..9f07b3e 100644
--- a/opam
+++ b/opam
@@ -22,5 +22,5 @@ depends: [
   "ocamlfind"
   "atd" {>= "1.1.0"}
   "biniou" {>= "1.0.6"}
-  "yojson" {>= "1.2.0" }
+  "yojson" {>= "1.2.1" }
 ]
diff --git a/src/Makefile b/src/Makefile
index 850e597..a067942 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,4 +1,4 @@
-VERSION = 1.7.1
+VERSION = 1.7.2
 ifeq "$(shell ocamlc -config |grep os_type)" "os_type: Win32"
 EXE=.exe
 else
diff --git a/src/ag_ov_emit.ml b/src/ag_ov_emit.ml
index 0066774..56a0bcf 100644
--- a/src/ag_ov_emit.ml
+++ b/src/ag_ov_emit.ml
@@ -138,7 +138,8 @@ let prepend_validator_f v l =
               ]
             ];
             `Line ")";
-          ]
+          ];
+          `Line ")";
         ]
 
 (*
diff --git a/test/test.atd b/test/test.atd
index 29e7fe0..19174b1 100644
--- a/test/test.atd
+++ b/test/test.atd
@@ -203,3 +203,9 @@ type precision = {
 
 type 'a generic = { x294623: int; }
 type specialized = string generic
+
+type validate_me =
+  string
+    <ocaml valid="fun s -> true">
+      list
+        <ocaml valid="fun l -> true">

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/atdgen.git



More information about the Pkg-ocaml-maint-commits mailing list