Re: [racket-dev] A broken contract test & feature

2013-07-02 Thread Robby Findler
Oh, that's a good idea! I'll do that (later). Stupid me for not seeing that. It would be great to get "/x" into error messages at some point, but I shouldn't have confused these two. Thanks, Robby On Tue, Jul 2, 2013 at 6:53 PM, Carl Eastlund wrote: > Could you simply forge the source locatio

Re: [racket-dev] A broken contract test & feature

2013-07-02 Thread Carl Eastlund
Could you simply forge the source location on the syntax object to make it look like it's from a collection? Carl Eastlund On Tue, Jul 2, 2013 at 7:10 PM, Robby Findler wrote: > I looked into this too and didn't come up with a good solution. > > It would be nice if there were a way to write the

Re: [racket-dev] A broken contract test & feature

2013-07-02 Thread Robby Findler
I looked into this too and didn't come up with a good solution. It would be nice if there were a way to write the "here's a path, please tell me which part to replace with "/something" without too many dependencies, but I didn't try to see if that would be feasible. Meanwhile, I agree that just d

[racket-dev] A broken contract test & feature

2013-07-02 Thread Sam Tobin-Hochstadt
Currently, there's one test in 'contract-test.rktl' that fails. The problem is that the test expects 'contract-test.rktl' to be in the "main collects directory", but it isn't -- it's in the `racket-test` package. What we want is to have it detect that it's in a package, but doing that has two pr