Skip to content

Conversation

@reeze
Copy link
Contributor

@reeze reeze commented Feb 20, 2013

After the traits refactor, it "fixed" the traits precedence which could use class but not trait that was not intend from the design and manual.

this PR fixes the BC, and the same time deprecate the behavior.

This is a 5.4 only patch.

@laruence
Copy link
Member

actually, I was looking into this, I have thought the similar fix of you, but
unfortunatly, it is wrong, thinking of this:

methodParent();

@php-pulls
Copy link

Comment on behalf of laruence at php.net:

wrong fix, this fix need more works than it look like.

@php-pulls php-pulls closed this Feb 20, 2013
@reeze
Copy link
Contributor Author

reeze commented Feb 20, 2013

What intend output in your code?

http://3v4l.org/UpMCW after the fix, 5.4's behavior is consist

@laruence
Copy link
Member

yes, it's consistent, but do you think it's right? do you think it's acceptable ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants