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

Positional arguments not handled as in python3 #212

Closed
jplevyak opened this issue Mar 12, 2023 · 1 comment
Closed

Positional arguments not handled as in python3 #212

jplevyak opened this issue Mar 12, 2023 · 1 comment

Comments

@jplevyak
Copy link

class A:
  x = lambda y: y
print(A().x())

python prints "<main.A object at 0x7f7787a18850>" codon produces:

x.py:3:7-14: error: ._lambda_117() missing 1 required positional argument: 'y'

@inumanag
Copy link
Contributor

inumanag commented Nov 8, 2024

See #606.

@inumanag inumanag closed this as completed Nov 8, 2024
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

2 participants