Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check-equal? not reporting error line #1177

Closed
bestlem opened this issue Dec 8, 2021 · 3 comments
Closed

check-equal? not reporting error line #1177

bestlem opened this issue Dec 8, 2021 · 3 comments

Comments

@bestlem
Copy link

bestlem commented Dec 8, 2021

What version of Racket are you using?

8.3

What program did you run?

#lang typed/racket/base

(module+ test
(require typed/rackunit)
(check-equal? (+ 1 1) 3))

What should have happened?

Got an error message with error in line 5 of my file

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

; FAILURE
; /Applications/Racket v8.3/share/pkgs/rackunit-typed/rackunit/main.rkt:24:2
name: check-equal?
location:
/Applications/Racket v8.3/share/pkgs/rackunit-typed/rackunit/main.rkt:24:2
actual: 2
expected: 3

@AlexKnauth
Copy link
Member

This is an issue with the rackunit repository which contains the rackunit-typed package, not the typed-racket repository. On the rackunit repository there is already an issue for this:
racket/rackunit#120
and an open PR, though there are merge conflicts and changes requested:
racket/rackunit#80

@bestlem
Copy link
Author

bestlem commented Jan 14, 2022

Do the rackunit developers use typed-racket - I can't see why they would deal with something in a different language.

Especially since this has been reported for over 4 years - shouldn't this be under typed-racket development?

@capfredf
Copy link
Member

closed in racket/rackunit#153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants