annotate tests/cut.ur @ 1639:6c00d8af6239

Add a new scoping check for unification variables, to fix a type inference bug
author Adam Chlipala <adam@chlipala.net>
date Sun, 18 Dec 2011 11:29:13 -0500
parents ae03d09043c1
children
rev   line source
adamc@149 1 val r = {A = 1, B = "Hi", C = 0.0}
adamc@149 2 val rA = r -- #A
adamc@493 3 val rB = r --- [A = _, C = _]
adamc@149 4
adamc@493 5 fun main () : transaction page = return <xml>
adamc@493 6 {cdata rA.B}, {cdata rB.B}
adamc@493 7 </xml>