Ticket #2044 (new bug)

Opened 11 years ago

Subclassing FileHandle

Reported by: ShaneC Owned by:
Priority: normal Milestone:
Component: core Version: master
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: win32

Description

This PIR:

.sub test :main
    $P0 = subclass 'FileHandle', 'TempFileHandle'
    $P1 = new 'TempFileHandle'
.end

Produces:

Handle cannot be instantiated directly.

(from Handle.pmc:42)

Note: See TracTickets for help on using tickets.