Skip to content

Comments

Add syntactic support for partial function application#57

Merged
thekid merged 5 commits intomasterfrom
feature/pfa
Feb 14, 2026
Merged

Add syntactic support for partial function application#57
thekid merged 5 commits intomasterfrom
feature/pfa

Conversation

@thekid
Copy link
Member

@thekid thekid commented Jul 12, 2025

public $arguments;

public function __construct($expression, $line= -1) {
public function __construct($expression, $arguments= [], $line= -1) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a BC break! This will result in a 12.0.0-RELEASE and a dependency update for:

$ grep xp-framework/ast */composer.json | grep -v ^ast
compiler/composer.json:    "xp-framework/ast": "dev-feature/pfa as 11.8.0",
php-is-operator/composer.json:    "xp-framework/ast": "^11.8",
reflection/composer.json:    "xp-framework/ast": "^11.0 | ^10.0 | ^9.0 | ^8.0 | ^7.6",

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

@thekid thekid Feb 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thekid thekid merged commit 7bc8237 into master Feb 14, 2026
16 checks passed
@thekid thekid deleted the feature/pfa branch February 14, 2026 10:44
@thekid
Copy link
Member Author

thekid commented Feb 14, 2026

@thekid
Copy link
Member Author

thekid commented Feb 14, 2026

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant