ruff
[red-knot] Implement more types in binary and unary expressions
#13803
Merged

[red-knot] Implement more types in binary and unary expressions #13803

carljm merged 23 commits into astral-sh:main from Glyphack:unary-op
Glyphack
Glyphack Glyphack requested a review from carljm carljm 1 year ago
Glyphack Glyphack requested a review from MichaReiser MichaReiser 1 year ago
Glyphack Glyphack requested a review from AlexWaygood AlexWaygood 1 year ago
Glyphack Glyphack force pushed from c1131f04 to 7044ed6e 1 year ago
github-actions
carljm
carljm requested changes on 2024-10-18
MichaReiser MichaReiser added ty
Glyphack Implement unary op for any and unknown
cd88837d
Glyphack Handle division by zero for boolean rhs
c6120898
Glyphack Handle booleans in binary expression
0fcf2865
Glyphack Handle instances in unary operation
b0567307
Glyphack Remove unknown test case
00df2f91
Glyphack Glyphack force pushed from 6f025ba5 to 55dc7a63 1 year ago
Glyphack Add more tests without unnecessary variables
cad456f4
Glyphack Glyphack force pushed from 55dc7a63 to cad456f4 1 year ago
Glyphack Check for Bool class in division by zero
3aa7b6c9
Glyphack Convert booleans to integer literal in binary operations
de190b82
Glyphack Separate handling unary not for instance types
729ddb7c
Glyphack Merge branch 'main' into unary-op
097678b5
Glyphack Glyphack requested a review from carljm carljm 1 year ago
carljm
carljm requested changes on 2024-10-19
Glyphack Update crates/red_knot_python_semantic/src/types/infer.rs
ce45e6ba
Glyphack Update crates/red_knot_python_semantic/src/types/infer.rs
f4f425f0
Glyphack Update crates/red_knot_python_semantic/src/types/infer.rs
21e249e0
Glyphack Apply suggestions
05df52f4
Glyphack Add tests for integer power op
24b8a430
Glyphack Merge branch 'main' into unary-op
aca5e418
Glyphack Correct return type
d962bce6
Glyphack Update integers.md
f0b4eef5
Glyphack Reformat markdown tests
d1b3abf9
Glyphack Add debug assert for instance not op
35555c39
AlexWaygood
AlexWaygood commented on 2024-10-19
Glyphack Use unreachable
f99644e4
AlexWaygood
AlexWaygood commented on 2024-10-19
Glyphack Update crates/red_knot_python_semantic/src/types/infer.rs
6f8f74b1
Glyphack Glyphack requested a review from carljm carljm 1 year ago
carljm
carljm approved these changes on 2024-10-20
carljm Apply suggestions from code review
8292567c
carljm carljm enabled auto-merge (squash) 1 year ago
carljm carljm merged 0f0fff4d into main 1 year ago
Glyphack Glyphack deleted the unary-op branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone