annotate tests/onerror.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 b4480a56cab7
children
rev   line source
adam@1294 1 fun main n =
adam@1294 2 case n of
adam@1294 3 0 => error <xml>Zero is bad!</xml>
adam@1294 4 | _ => return <xml/>