~jojo/Carth

ref: 55fb4f948f1f3797078b584dc60b4f7dd68b37ed Carth/test/tests/bad/cast-mono.carth -rw-r--r-- 74 bytes
55fb4f94JoJo Check `cast` in Infer instead of Gen 2 months ago
                                                                                
1
2
3
4
5
;; NoClassInstance

(define: (foo a)
    (Fun Int (Box Nat8))
  (cast a))