Skip to content

refinement type runs into an endless loop #672

Open
@Syntacticlosure

Description

@Syntacticlosure

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions