Skip to content

Fix operator free-var check and relationStyle arg names - #48

Open
Chessing234 wants to merge 1 commit into
teorth:masterfrom
Chessing234:fix/logic-js-operator-and-relation
Open

Fix operator free-var check and relationStyle arg names#48
Chessing234 wants to merge 1 commit into
teorth:masterfrom
Chessing234:fix/logic-js-operator-and-relation

Conversation

@Chessing234

@Chessing234 Chessing234 commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Match "operator evaluation" (not "operator") in hasBoundOrUnknownFree so operator nodes are scanned correctly.
  • Use sentence.argList[i].longName in relationStyle so relation arguments get the right display names.

Test plan

  • Spot-check free-variable highlighting on operator evaluations
  • Spot-check relation sentence rendering

hasBoundOrUnknownFree switched on "operator" but terms use subtype
"operator evaluation". Relation predicates read longName from the
pre-toTerm argList, producing "undefined R undefined".
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.

1 participant