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

[BUG]: Issue in operators. #96

Closed
Almas-Ali opened this issue Apr 24, 2024 · 0 comments · Fixed by #149
Closed

[BUG]: Issue in operators. #96

Almas-Ali opened this issue Apr 24, 2024 · 0 comments · Fixed by #149
Labels
bug Something isn't working core System level core syntax Language Syntax
Milestone

Comments

@Almas-Ali
Copy link
Member

Screenshots or Code snippets

x = 5
y = 2

x /= y
print(x) # 2.5 OK as floor division.

x //= y
print(x) # 1.0 Failed as Integer division

5 / 5 # 1.0 OK as floor division.

5 // 5 # Invalid Syntax: Token cannot appear after previous tokens
@Almas-Ali Almas-Ali added bug Something isn't working syntax Language Syntax core System level core labels Apr 24, 2024
@Almas-Ali Almas-Ali added this to the v0.1 release milestone May 28, 2024
Vardan2009 added a commit to Vardan2009/radon-fork that referenced this issue May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core System level core syntax Language Syntax
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant