~ chicken-core (chicken-5) /tests/scrutiny-tests-strict.scm
Trap1;;;; scrutinizer-tests in "strict-types" mode234;;; #896: internal error due to missing resolution of type-variables5;;; in "initial-argument-types" (scrutinizer.scm)6;;; (reported by Moritz)78(define-record bar foo)910(define-type bar11 (struct bar))1213;; This breaks with csc -strict-types14(: foo (forall (x string) (x -> bar)))1516;; Using this declaration instead of the above makes it work17;; (: foo (string -> bar))1819;; Alternatively, removing this declaration makes it work, too20(: make-bar (string -> bar))2122(define (foo x) (make-bar x))23