You are not the only one to complain :). We've been having an internal
discussion about this, actually.

In this particular, case, I think that you are using provide/contract,
right? If so, the blame really lies with the entire file edf.rkt. So there
really isn't anything more specific to say.

Robby



On Sun, Sep 8, 2013 at 4:20 AM, antoine <antoine...@gmail.com> wrote:

> Hello,
>
> I have just start using contracts in racket, but i am a bit disapointed by
> the
> error message they give to me.
>
> example contract error:
>
>  add-number: contract violation
>  expected: number?
>  given: "1"
>  in: the 2nd argument of
>       (-> number? number? number?)
>  contract from: abc.rkt
>  blaming: edf.rkt
>  at: abc.rkt:5.3
>
> I would have expected to have the line and column number in the blaming
> line
> like what you could get from a stacktrace.
>
> Is it possible in contracts?
> Am i the only one to complain? :)
>
> Thanks you in advance.
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/**users <http://lists.racket-lang.org/users>
>
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to