ruff
[red-knot] Fix merged type after if-else without explicit else branch
#14621
Merged

[red-knot] Fix merged type after if-else without explicit else branch #14621

sransara
sransara [red-knot] Fix merged type after if-else without explicit else branch
ab08c356
sransara sransara requested a review from carljm carljm 1 year ago
sransara sransara requested a review from MichaReiser MichaReiser 1 year ago
sransara sransara requested a review from AlexWaygood AlexWaygood 1 year ago
sransara sransara requested a review from sharkdp sharkdp 1 year ago
github-actions
sransara `cargo fmt`
566d109d
sransara Update mdtest with just the error case
27c8307d
sransara
sransara commented on 2024-11-27
MichaReiser MichaReiser added ty
penguinolog
penguinolog commented on 2024-11-27
sransara add another test var without mutation for testing
31c7d87a
sransara Move test to new file
4edec740
sransara Add couple of more tests
1e598381
carljm
carljm commented on 2024-11-28
carljm
sransara Update crates/red_knot_python_semantic/resources/mdtest/narrow/post_i…
c14d470d
sransara Update crates/red_knot_python_semantic/resources/mdtest/narrow/post_i…
05a969f2
sransara Update crates/red_knot_python_semantic/resources/mdtest/narrow/post_i…
bbceded9
sransara Update crates/red_knot_python_semantic/resources/mdtest/narrow/post_i…
ba7eb391
sransara Update crates/red_knot_python_semantic/resources/mdtest/narrow/post_i…
4d1286e9
sransara
sransara map elif clauses to tuple list and add empty else case if not present
29014a87
sransara `cargo fmt`
dfe42a6f
sransara improve with no vector collect and mutation
d38c0380
AlexWaygood
AlexWaygood commented on 2024-11-28
sransara Update crates/red_knot_python_semantic/src/semantic_index/builder.rs
b6cf9169
sransara `cargo fmt`
dfff0ad0
codspeed-hq
AlexWaygood
AlexWaygood commented on 2024-11-28
MichaReiser
MichaReiser commented on 2024-11-28
sransara Update crates/red_knot_python_semantic/src/semantic_index/builder.rs
fa891186
sransara Use default instead of empty slice
864acb60
MichaReiser
MichaReiser commented on 2024-11-28
sransara
AlexWaygood
AlexWaygood
sransara
carljm
carljm approved these changes on 2024-11-28
carljm
carljm carljm merged 3f6c65e7 into main 1 year ago
sransara

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone