Re: unhandled target type
[email protected] (Brian Duggan)
| Newsgroups | perl.perl6.users |
|---|---|
| Message-ID | <ZzlMr6Dqd8zPbq1-@haraka> |
On Saturday, November 16, Timo Paulssen via perl6-users wrote: > By the way, I think you can work around the bug by either using > CArray[WTS_SESSION_INFOA] instead of Pointer[WTS_SESSION_INFOA], or maybe by > using .succ on the $array Pointer $i times instead of the [$i] syntax, since > the bug was specifically in the implementation of the postcircumfix [] > operator of TypedPointer. I have not tried this myself, though. Looks like I encountered this exact issue. As a workaround, I used .add instead of [] and it worked well -> https://github.com/bduggan/raku-duckie/commit/83de6deb1ec2929209a565e882da13f020119460 Glad to know the underlying cause has been addressed! Brian