Skip to content

[sc-339] Improve eta-reduction to not apply on all functions - #117

Merged
nicolas-abril merged 3 commits into
masterfrom
bug/sc-339/don-t-apply-eta-reduction-on-all-functions
Jan 17, 2024
Merged

nicolas-abril merged 3 commits into
masterfrom
bug/sc-339/don-t-apply-eta-reduction-on-all-functions

Conversation

@LunaAmora

Copy link
Copy Markdown
Contributor

No description provided.

@LunaAmora LunaAmora self-assigned this Jan 16, 2024
@shortcut-integration

Copy link
Copy Markdown

This pull request has been linked to Shortcut Story #339: Don't apply eta-reduction on all functions.

Comment thread src/term/transform/eta_reduction.rs Outdated
Comment thread tests/golden_tests/compile_file/nested_eta.hvm
@LunaAmora
LunaAmora force-pushed the bug/sc-339/don-t-apply-eta-reduction-on-all-functions branch from f466fc7 to 5fefb03 Compare January 17, 2024 17:09
@nicolas-abril
nicolas-abril merged commit a90a38d into master Jan 17, 2024
@nicolas-abril
nicolas-abril deleted the bug/sc-339/don-t-apply-eta-reduction-on-all-functions branch January 17, 2024 18:02
Phylliida pushed a commit to Phylliida/bend that referenced this pull request Sep 27, 2026
…pply-eta-reduction-on-all-functions

[sc-339] Improve eta-reduction to not apply on all functions
Lorenzobattistela pushed a commit to oxura/bend that referenced this pull request Oct 20, 2026
HTMLRewriter keeps character references in attributes, so an encoded
"mod&bendlang#117;le" was skipped, and trim() strips NBSP, so a non-module type
ran. Decode the ASCII references that can spell "module" and trim only
HTML whitespace.

Closes bendlang#1767

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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