summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGabriel Kerneis2013-12-13 16:01:30 +0000
committerGabriel Kerneis2013-12-13 16:01:57 +0000
commit7d368ee6a43f3bcb99b5cb754c52f5246db85618 (patch)
tree305e0dde3743a307b799b674f729870439c2e1d1 /src/test
parentd2628288f054e72fef2d5bbad24f1aac0f5d1db7 (diff)
Fix effect annotation pretty-printing
There is also a bug for parsing effect annotations (in fundecl). But for some reason, my fix for the parser does not work: test/test2.sail still refuses to parse (chokes on "effect pure"), even with "Effect" added to parser.mly.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test2.sail2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test2.sail b/src/test/test2.sail
index 24d82655..1418f990 100644
--- a/src/test/test2.sail
+++ b/src/test/test2.sail
@@ -1,5 +1,5 @@
function nat id ( n ) = n
-function nat main _ = {
+function nat effect pure main _ = {
id(42);
}