Moose
                                
                                
                                
                                    Moose copied to clipboard
                            
                            
                            
                        allow lazy accessors to return their built value even with weak_ref
This allows weak_ref with a lazy default to work if the caller captures the return value from calling the getter.
Some exceptions probably need adjustment, and there are related issues, such as allowing weak_ref with coercions.