racket/typed-racket

refinement type runs into an endless loop

Aperta

#672 aperta il 28 feb 2018

 (1 commento) (0 reazioni) (0 assegnatari)Racket (106 fork)github user discovery
good first issueinferencerefinement

Metriche repository

Star
 (576 stelle)
Metriche merge PR
 (Merge medio 11g 14h) (1 PR mergiata in 30 g)

Descrizione

What version of Racket are you using?

6.12

What program did you run?

#lang typed/racket #:with-refinements
(define-type test (Refine [a : (Pairof Integer Integer)]
                          (<= (car a) (cdr a))))
(ann '(2 . 1) test) 

What should have happened?

a type error

If you got an error message, please include it here.

Background expansion abnormally(out of memory)

Guida contributor