develooper Front page | perl.perl6.internals | Postings from September 2005

[perl #37148] confusing imcc error message

From:
Joshua Hoblitt
Date:
September 12, 2005 21:24
Subject:
[perl #37148] confusing imcc error message
Message ID:
rt-3.0.11-37148-120661.0.0304470513545141@perl.org
# New Ticket Created by  Joshua Hoblitt 
# Please include the string:  [perl #37148]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37148 >


The error message returned from imcc when trying to 'new' a non-existent
PMC is misleading.

--
$ cat foo.pasm
new P0, .Bigint
$ parrot foo.pasm
error:imcc:syntax error, unexpected DOT
in file 'foo.pasm' line 1
--

<chip> shirley it's just another production:   '.' error { error("that
was supposed to be a type name there") }    or some such



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About