Skip to content

F#: a parameter list that starts on the next line makes the binding a function (Part of #9200) - #9289

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/9200-20261125T1125Z
Nov 25, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/9200-20261125T1125Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #9200

What

Items 1-3 of #9200 were already fixed by #9212, #9243, #9254, #9284 (re-checked on main: Julia/Nim/F# one-liners and the Nim operator name extract; Erlang and Nim baselines are 100%). This slice takes the largest remaining F# gap: Fantomas-style definitions whose parameter list starts on the next indented line (let f newline (x: int), static member M newline ( ...). func_start in fsharp.py now accepts [ \t]*\r?\n[ \t]+\( after the name.

F# tree-sitter accuracy: functions found 181 -> 197 of 265 (68.3% -> 74.3%), extras unchanged (6).

Class

F# definition shapes func_start misses.

Sibling gaps

Remaining slices

  1. F# abstract members / object expressions (fsharp.py, test, baseline).
  2. Julia residual (julia.py, test, baseline).
  3. Class-name enrolment (item 4).

Gates

  • test_fsharp_strict.py: 19 passed (new test covers next-line parens, tupled members, let value newline = 3 and let plain = 1 as non-functions).
  • tree_sitter_accuracy_audit --lang fsharp --regenerate done; audit_check.py all clear; ruff format clean.
  • Golden re-blessed via golden-lock.sh crucible_check.py --update --yes; drift is the F# function set in the crucible corpus (more functions found).

Lessons for agents

  • galaxyscope ... --db-only --output X writes the DB in a subdirectory of X; use find X -name '*.db', not a glob on X.

Cross-repo: none.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 25, 2026 11:33
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 25, 2026 11:34
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot merged commit f230a12 into main Nov 25, 2026
126 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/9200-20261125T1125Z branch November 25, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant