Ticket #681 (closed bug: fixed)
Cannot use a PIR object for IO
Reported by: | flh | Owned by: | whiteknight |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Version: | trunk |
Severity: | medium | Keywords: | |
Cc: | allison | Language: | |
Patch status: | Platform: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.