mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
``` match a: case 1, 2: pass ``` This is parsed correctly by the grammar, but the default values of `MatchList.lbracket` and `MatchList.rbracket` are inconsistent between Python and Rust, causing the above snippet to round-trip (from Python) to: ``` match a: case [1, 2]: pass ``` Fixes #1096. |
||
|---|---|---|
| .. | ||
| libcst | ||
| libcst_derive | ||
| Cargo.lock | ||
| Cargo.toml | ||
| roundtrip.sh | ||