petdance/scratch — Issue #1116: Subclassing FileHandle
Author: petdance
Created: 2011-11-14 06:14:46+00:00
State: open
Labels: bug, core, Pri-normal, Sev-medium

This PIR:
```
.sub test :main
$P0 = subclass 'FileHandle', 'TempFileHandle'
$P1 = new 'TempFileHandle'
.end
```
Produces:
```
Handle cannot be instantiated directly.
```
(from Handle.pmc:42)

Originally http://trac.parrot.org/parrot/ticket/2044 by @ShaneC