# New Ticket Created by "Mehmet Yavuz Selim Soyturk"
# Please include the string: [perl #44247]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=44247 >
Calling a METHOD (declared in a pmclass) from PIR with :flat modifier
set causes a segmentation fault. Example:
.sub _ :main
.local pmc arr, file
arr = new .ResizablePMCArray
arr[0] = 'test.txt'
file = new .File
$I0 = file.exists(arr :flat)
.end
Expected behaviour:
* 'exists' executes successfully
or
* it's not allowed to use :flat when calling METHODs and an exception
gets thrown.
btw: Is there any reason to use METHODs over PCCMETHODs? That problem
does not exists for PCCMETHODs.
--
Mehmet