~jojo/Carth

ref: c5a394b01aa60cb95605d66f6118cfb231955aa7 Carth/test/tests/bad/ctor-arity-mismatch.carth -rw-r--r-- 139 bytes
c5a394b0JoJo Fix class constraint inference bug when explicit scheme given 8 months ago
                                                                                
1
2
3
4
5
6
7
;; CtorArityMismatch

(data Integ (Integ Int))

(define arity-mismatch-for-constructor
  (match (Integ 1)
    (case (Integ foo bar) foo)))