Skip to content

Add syntactic support for partial function application - #57

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

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

Conversation

@thekid

Copy link
Copy Markdown
Member

public $arguments;

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

Copy link
Copy Markdown
MemberAuthor

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
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

@thekidthekidFeb 14, 2026

Copy link
Copy Markdown
MemberAuthor

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 masterFeb 14, 2026
16 checks passed
@thekid
thekid deleted the feature/pfa branch February 14, 2026 10:44
@thekid

Copy link
Copy Markdown
MemberAuthor

@thekid

Copy link
Copy Markdown
MemberAuthor

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@thekid