Skip to content

Refactor function callish stuff - #26

Open
andrewcmyers wants to merge 9 commits into
masterfrom
refactor-function-callish-stuff
Open

andrewcmyers wants to merge 9 commits into
masterfrom
refactor-function-callish-stuff

Conversation

@andrewcmyers

@andrewcmyers andrewcmyers commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Various syntactic forms look like function calls but are or are not really checked like functions. This PR teases them apart and makes nodes for the distinctive constructs.

To be merged after #30

…he leaky semantics, and pick up SHErrLoc's hypothesis-soundness fixes.
exception types are now checked properly and support dependent types.
…ositional for both reads and writes, and receivers can be any variable, member or element.
… by adding a Block node to the AST to replace the previous

fairly ad-hoc 'list of statements' approach.

Also got rid of the endorse statement that was not really suppored anyway.
…nodes;

throw and emit take a name and arguments and share argument checking with calls,
which makes emit sound when a principal argument is not a name.

This branch has not been deployed

No deployments
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