Skip to content

Old pony 4885#94

Merged
IgorDeepakM merged 2 commits intomasterfrom
old_pony_4885
Feb 28, 2026
Merged

Old pony 4885#94
IgorDeepakM merged 2 commits intomasterfrom
old_pony_4885

Conversation

@IgorDeepakM
Copy link
Owner

No description provided.

…les (#4885)

The package docstring used `ph.array_eq` which doesn't exist on
PropertyHelper — the correct method is `assert_array_eq`. The inline
for_all example also had `Usize` (wrong capitalization) and used `arg1`
instead of `sample` (the lambda parameter name).

Closes #4884
…4886)

The rule previously required 2+ consecutive dot-calls to fire. A
single call followed by a bare reference to return the variable is
equally replaceable with .> chaining, since .> returns the receiver.

Lower the threshold so the trailing-ref branch fires with 1+ calls
while the no-trailing-ref branch still requires 2+. Refactor
instances in pony-lint's own test code that the rule now catches.

Closes #4882
@IgorDeepakM IgorDeepakM merged commit 8c0a865 into master Feb 28, 2026
3 of 4 checks passed
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.

2 participants