From: Eijiro Sumii <eijiro.sumii@gmail.com>
To: Xavier Leroy <Xavier.Leroy@inria.fr>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] line number in exception history?
Date: Tue, 11 Oct 2005 20:13:31 +0900 [thread overview]
Message-ID: <a4d0794e0510110413r294539dbxb83c619452453f8a@mail.gmail.com> (raw)
In-Reply-To: <434B8142.5000407@inria.fr>
Thanks for your response!
On 10/11/05, Xavier Leroy <Xavier.Leroy@inria.fr> wrote:
> Your code is strange: you do realize that
> raise (invalid_arg "Give me positive!")
> is weird because invalid_arg is a function that raises an exception itself?
Yes it is, but this was not quite my (or the student's) point...
> This is indeed off by one line. In general, the location following the
> function call is reported, i.e
>
> function_that_raises arg1 arg2 arg3
> ^
> reported location
>
> while in your example the following "in \n" is skipped. Maybe one of
> us will look at this, but I don't fell it's a big issue.
I see, that's just as I guessed. I agree it's not a big issue. What
about the second example (in my follow-up message)?
Best,
Eijiro
prev parent reply other threads:[~2005-10-11 11:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-10 2:22 Eijiro Sumii
2005-10-10 3:24 ` Eijiro Sumii
2005-10-11 9:09 ` [Caml-list] " Xavier Leroy
2005-10-11 11:13 ` Eijiro Sumii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a4d0794e0510110413r294539dbxb83c619452453f8a@mail.gmail.com \
--to=eijiro.sumii@gmail.com \
--cc=Xavier.Leroy@inria.fr \
--cc=caml-list@yquem.inria.fr \
--cc=sumii@ecei.tohoku.ac.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).