Ticket #1962 (new todo)
:instanceof('Foo') is untested
|Reported by:||cotto||Owned by:|
imcc has a little-known sub modifier that causes a Sub to be created as an alternate PMC type. The one place it's documented, PDD19, contains the following description:
The C<:instanceof> pragma is an experimental pragma that creates a sub as a PMC type other than 'Sub'. However, as currently implemented it doesn't work well with C<:outer> or existing PMC types such as C<Closure>, C<Coroutine>, etc.
This needs to be added to DEPRECATED.pod as an officially experimental feature and, more importantly, needs to be tested.