Ticket #627 (closed bug: fixed)
dynlexpad doesn't work with installed parrot.
Reported by: | coke | Owned by: | coke |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | 1.1.0 |
Severity: | medium | Keywords: | tcl blocker |
Cc: | jkeenan | Language: | |
Patch status: | Platform: | darwin |
Description
Given this PIR from t/dynpmc/dynlexpad.t
.loadlib "dynlexpad" .HLL "Some" .sub load :anon :init .local pmc interp, lexpad, dynlexpad interp = getinterp lexpad = get_class 'LexPad' dynlexpad = get_class 'DynLexPad' interp.'hll_map'(lexpad, dynlexpad) .end # see loadlib .sub 'test' :main foo() .end .sub foo :lex $P1 = new 'Integer' $P1 = 13013 store_lex 'a', $P1 print "ok 1\n" $P2 = find_lex 'a' print "ok 2\n" print $P2 print "\n" end .end
running with svn-recent out of the build dir, I get:
$ ./parrot /tmp/die.pir ok 1 ok 2 13013
Running from an installed parrot, I get:
$ parrot /tmp/die.pir src/string/api.c:762: failed assertion 'encoding' Abort trap slurpee:~/research/parrot coke$ parrot -V This is Parrot version 1.1.0 built for nojit. Copyright (C) 2001-2009, Parrot Foundation. This code is distributed under the terms of the Artistic License 2.0. For more details, see the full text of the license in the LICENSE file included in the Parrot source tree.
Change History
Note: See
TracTickets for help on using
tickets.