From 5a6ced2cb8eb45b392c72988a834323a61a147a1 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sat, 3 Dec 2011 15:59:21 -0500 Subject: Better error messages about non-SQL-izability of types --- tests/cantSql.ur | 3 +++ tests/cantSql.urp | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 tests/cantSql.ur create mode 100644 tests/cantSql.urp (limited to 'tests') diff --git a/tests/cantSql.ur b/tests/cantSql.ur new file mode 100644 index 00000000..026fcaa4 --- /dev/null +++ b/tests/cantSql.ur @@ -0,0 +1,3 @@ +datatype foo = Bar of int + +table bad : { A : foo, B : { X : float } } diff --git a/tests/cantSql.urp b/tests/cantSql.urp new file mode 100644 index 00000000..b1809f0f --- /dev/null +++ b/tests/cantSql.urp @@ -0,0 +1,3 @@ +database dbname=test + +cantSql -- cgit v1.2.3