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

'ignore' variable not allowed anymore #2

Open
niclash opened this issue Dec 10, 2022 · 0 comments
Open

'ignore' variable not allowed anymore #2

niclash opened this issue Dec 10, 2022 · 0 comments

Comments

@niclash
Copy link

niclash commented Dec 10, 2022

In _traversal.pony at the bottom;

class val NoTraversal is JTraversal
	fun apply(v: J): (J | NotSet) => v
	fun update(_: J, v: (J | NotSet)) : (J | NotSet) => v

The '_' in update must be changed to a valid identifier.

See https://playground.ponylang.io/?gist=6aa02a01f4de70c70422ac02206217f5

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

No branches or pull requests

1 participant