Changeset 22793 for v6

Show
Ignore:
Timestamp:
10/28/08 01:26:39 (2 months ago)
Author:
ruoso
Message:

[smop-s1p] calls .!instanceof in the protoobject to detect when to eval the closure and pass the parameters to BUILD

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • v6/smop/src-s1p/ClassHOW.pm

    r22792 r22793  
    7171 
    7272          my %protoargs = map { $_.^!whence.() if $_.^!whence }, 
    73             grep { $_.WHAT === $prototype }, @protoobjects; 
     73            grep { $_.^!instanceof === $prototype }, @protoobjects; 
    7474          $prototype.?BUILD($object: |%protoargs, |%initialize); 
    7575      }