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

Add property #52

Merged
merged 3 commits into from Dec 31, 2022
Merged

Add property #52

merged 3 commits into from Dec 31, 2022

Conversation

MeWhenI
Copy link
Contributor

@MeWhenI MeWhenI commented Dec 30, 2022

Adds a boolean switch to MethodExpr to treat a method call as a property. Useful for languages such as C# and Swift. For example, Swift needs text.count rather than text.count().

@MichalMarsalek MichalMarsalek added the enhancement New feature or request label Dec 30, 2022
src/IR/exprs.ts Outdated Show resolved Hide resolved
Co-authored-by: Michal Maršálek <MichalMarsalek@users.noreply.github.com>
@MichalMarsalek MichalMarsalek merged commit 7d3e3c4 into polygolf-lang:main Dec 31, 2022
@MeWhenI MeWhenI deleted the add-property branch February 12, 2023 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants