Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove half-baked support for method calls #583

Merged
merged 3 commits into from Jun 12, 2023
Merged

Remove half-baked support for method calls #583

merged 3 commits into from Jun 12, 2023

Conversation

hugomg
Copy link
Member

@hugomg hugomg commented Jun 10, 2023

The current support for ":" syntax is well-intended but buggy (See #580 and #581). Let's get rid of it for now. When it comes the time to implement method calls for real, it should not be difficult to add this stuff back in.

Closes #581

The current support for ":" syntax is well-intended but buggy (See #580
and #581). Let's get rid of it for now. When it comes the time to
implement method calls for real, it should not be difficult to add
this stuff back in.

Closes #581
@hugomg
Copy link
Member Author

hugomg commented Jun 11, 2023

@bjornbm please let me know if this helps fix those issues you found.

@bjornbm
Copy link
Contributor

bjornbm commented Jun 12, 2023

Hi @hugomg, I get sensible error messages now, failing early on method syntax (which I agree seems like the right approach).

Regarding this error message (on line 639):

Pallene does not yet implement method function definitions

Perhaps “method function” is redundant? I would propose:

Pallene does not yet implement method definitions

Or, maybe:

Pallene does not yet implement method syntax for function definitions

@hugomg
Copy link
Member Author

hugomg commented Jun 12, 2023

Great idea! Let's go with the shortest version.

@hugomg hugomg merged commit 26c0e92 into master Jun 12, 2023
2 checks passed
@hugomg hugomg deleted the no-methods branch June 12, 2023 21:27
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.

Confusing error message referring to table as function
2 participants