Add regression test for #670.

This commit is contained in:
Brian Huffman 2019-12-13 19:53:12 -08:00
parent 7211c9f251
commit aec6cb0a7e
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,7 @@
type x +++ y = x-y
g : [6 +++ 2 +++ 1]
g = 2
h : [6 +++ (2 +++ 1)]
h = 9

View File

@ -0,0 +1,3 @@
:l issue670.cry
:t g
:t h

View File

@ -0,0 +1,5 @@
Loading module Cryptol
Loading module Cryptol
Loading module Main
g : [6 +++ 2 +++ 1]
h : [6 +++ (2 +++ 1)]