-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug #784 : ->trait is seen as a T_TRAIT token
- Loading branch information
Showing
3 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,8 @@ trait bar { | |
trait baz { | ||
|
||
} | ||
|
||
$trait = 'foo'; | ||
echo $this->trait; | ||
echo Something::$trait; | ||
echo $trait; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e9f730a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gsherwood is there any chance you can tag and release this commit as 2.4.1? This and the short array notation inside case bug are preventing us from upgrading to the 2.4.x line, which is the release that has another fix we've been waiting for. Thanks again for the great project!
e9f730a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mikesherov I was hoping the PEAR site would be back by now so I could do a proper release (it will be 2.5.0 as I've got some new features in there as well) but it isn't ready yet.
If it isn't back up by Friday, I'll be releasing regardless.
e9f730a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!