Re: Assignment of UnManagedStruct in Perl6

2008-11-19 Thread Simon Cozens
Patrick R. Michaud wrote: > In r32873 I've updated assignment semantics so that it now tries to > do the right thing when dealing with something coming from outside > Rakudo's type system. In particular, assigning an UnManagedStruct > to a scalar value should now properly take a reference instead

Re: Assignment of UnManagedStruct in Perl6

2008-11-19 Thread Patrick R. Michaud
On Wed, Nov 19, 2008 at 04:57:34PM +0900, Simon Cozens wrote: > [...] > From this I can conclude that my PIR open() code correctly returns an > UnManagedStruct PMC; however, when Perl 6's assignment operator assigns > this to a variable, a new, empty UnManagedStruct PMC is created and no > longer c