Repair error wrt `float` struct test

This commit is contained in:
Tony Garnock-Jones 2021-06-08 09:26:35 +02:00
parent ade9b0a0f1
commit a4d61017d8
1 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@
(require (for-syntax racket/base))
(require "record.rkt")
(require "annotation.rkt")
(require "float.rkt")
(require racket/set)
(require racket/dict)
(require data/order)
@ -23,7 +24,7 @@
(define (typecode v)
(match v
[(? boolean?) 0]
[(? single-flonum?) 1]
[(or (? float?) (? single-flonum?)) 1]
[(? double-flonum?) 2]
[(? integer? x) 3]
[(? string?) 4]