Skip to content

fix(phel): align with phel-lang main — lazy-seq + ExceptionInfo rename#14

Merged
Chemaclass merged 3 commits into
mainfrom
fix/lazy-seq-and-exceptioninfo-rename
May 19, 2026
Merged

fix(phel): align with phel-lang main — lazy-seq + ExceptionInfo rename#14
Chemaclass merged 3 commits into
mainfrom
fix/lazy-seq-and-exceptioninfo-rename

Conversation

@Chemaclass

@Chemaclass Chemaclass commented May 19, 2026

Copy link
Copy Markdown
Member

Summary

Bump phel-lang/phel-lang to ^0.39 and align tests with upstream class renames.

  • composer.json: pin ^0.39 (v0.39.0 ships lazy-seq fix #1997 + ExceptionInfo rename #2006)
  • test/clojure/core_test/add_watch.cljc: Phel.Lang.ExInfoExceptionPhel.Lang.ExceptionInfo
  • .github/workflows/ci.yml: re-enable test-phel job (PHP 8.4, 8.5)

Test plan

  • composer test → 4692 passed, 0 failed locally
  • CI test-phel green on 8.4 and 8.5

Two phel test failures resolved by bumping to phel-lang main (post v0.38.0):

- Lazy-seq tests (test-lazy-seq 'basics' in lazy_seq.cljc): rest/next now
  match Clojure semantics — (rest s) no longer forces head of tail, so
  (realized? (rest s)) stays false (phel-lang#1997)
- add_watch.cljc catch-class updated from Phel.Lang.ExInfoException to
  Phel.Lang.ExceptionInfo, matching the Clojure-aligned rename in
  phel-lang#2006

composer.json pinned to "dev-main as 0.39.x-dev" until phel-lang/phel-lang
cuts v0.39.0 (phel-lang#2011); switch to ^0.39 once tagged + published.

Full suite: 4692 passed, 0 failed.
@Chemaclass Chemaclass added the bug Something isn't working label May 19, 2026
@Chemaclass Chemaclass self-assigned this May 19, 2026
Phel was disabled together with basilisp in 72997e3 ("Disable every
dialect except clj,cljr,cljs,bb"). Now that the lazy-seq and class-rename
breakage is resolved (phel-lang/main and the changes in this PR), phel
runs green (4692 passed, 0 failed).

Re-enables only the phel matrix (basilisp stays commented until its
parity work lands).
v0.39.0 (https://github.com/phel-lang/phel-lang/releases/tag/v0.39.0)
bundles the lazy-seq fix (phel-lang#1997) and the ExInfoException →
ExceptionInfo rename (phel-lang#2006). Drop the dev-main shim plus
minimum-stability/prefer-stable now that a stable tag exists.

Full suite: 4692 passed, 0 failed.
@Chemaclass Chemaclass marked this pull request as ready for review May 19, 2026 09:07
@Chemaclass Chemaclass merged commit 63a71b1 into main May 19, 2026
6 checks passed
@Chemaclass Chemaclass deleted the fix/lazy-seq-and-exceptioninfo-rename branch May 19, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant