Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parrot's Class.attributes method no longer returns attribute
names in the same order in which they were declared (indeed, the order is somewhat unpredictable). Since we need to initialize attributes in the order they were declared, add a @!attribute_list property and 'attriter' method to the Class PMC that allows Rakudo keep track of the order in which attributes are declared.
- Loading branch information
Showing
3 changed files
with
31 additions
and
3 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
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