petdance/scratch — Issue #310: Remove the open and close opcodes
Author: petdance
Created: 2011-11-01 04:25:39+00:00
State: open

The open and close opcodes are redundant and since the IO ops became dynops, have subtle problems, as found by PL/Parrot:

{{{ arg count mismatch: op #1119 'open' needs 17820 given 3 }}}

http://groups.google.com/group/parrot-dev/browse_thread/thread/d99dfeabda257cf1
http://groups.google.com/group/parrot-dev/browse_thread/thread/b8f6e3f2e0f285ff

Uses of the open/close opcode can easily be changed to use the open/close methods on the File or FileHandle PMC.