Re: [racket-users] Weird test failures

2021-10-24 Thread 'Joel Dueck' via Racket Users
Dang it, I think you’re right. Known gotcha it is, and a rookie one at that. Thanks for taking time to look at it! On Sunday, October 24, 2021 at 1:04:03 PM UTC-5 Sage Gerard wrote: > I got all tests to pass by updating the first clause of pre-escape to use > equal? > > > (and (txexpr? x)

Re: [racket-users] Weird test failures

2021-10-24 Thread Sage Gerard
I got all tests to pass by updating the first clause of pre-escape to use equal? > (and (txexpr? x) (equal? "text" (attr-ref x 'type #f))) My hypothesis is that when you didn't have bytecode, the reference to the literal string "text" just happened to be eq?. I couldn't say why. On 10/24/21

[racket-users] Weird test failures

2021-10-24 Thread 'Joel Dueck' via Racket Users
This is driving me a little batty. I have a package on the package server, and the package server shows that it is failing some tests[1]. Here is the first test that fails: FAILURE name: check-equal? location: dust.rkt:101:2 actual: '(div (div ((type "text")) "Judy's friend