#681: Cannot use a PIR object for IO
-------------------+--------------------------------------------------------
Reporter: flh | Type: bug
Status: new | Priority: normal
Milestone: | Component: none
Version: trunk | Severity: medium
Keywords: | Lang:
Patch: | Platform:
-------------------+--------------------------------------------------------
I cannot define a class in PIR which I can use for IO operations (e.g.,
whose 'read' method would be called by the read opcode).
See for example the attached code, which creates a "MyIO", whose "read"
method always returns the string "foo". Yet, calling the "read" opcode
with a MyIO object as argument just returns the empty string.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/681>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets