LibCST/native/libcst/tests/fixtures
Zsolt Dollenstein c854c986b6
Fix parsing list matchers without explicit brackets (#1097)
```
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.
2024-02-02 20:49:25 +00:00
..
big_binary_operator.py [native] Box most enums (#632) 2022-01-28 10:33:33 +00:00
class_craziness.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
comments.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
comparisons.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
dangling_indent.py Make sure dedents are emitted for inputs without trailing newlines (#573) 2022-01-04 20:04:21 +00:00
decorated_function_without_body.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
dysfunctional_del.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
expr.py Fix whitespace, fstring, walrus related parse errors (#939, #938, #937, #936, #935, #934, #933, #932, #931) 2023-06-07 12:37:16 +01:00
expr_statement.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
fun_with_func_defs.py Support whitespace after ParamSlash (#713) 2022-06-26 09:42:37 +01:00
global_nonlocal.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
import.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
indents_but_no_eol_before_eof.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
just_a_comment_without_nl.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
malicious_match.py Fix parsing list matchers without explicit brackets (#1097) 2024-02-02 20:49:25 +00:00
mixed_newlines.py Support files with mixed newlines (#1007) 2023-09-02 09:56:20 +01:00
pep646.py Add support for PEP-646 (#696) 2022-06-13 09:52:31 -06:00
raise.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
smol_statements.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
spacious_spaces.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
starry_tries.py implement PEP-654: except* (#571) 2021-12-29 21:23:46 +00:00
suicidal_slices.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
super_strings.py Parse multiline expressions in f-strings (#1027) 2023-10-02 10:33:29 -07:00
terrible_tries.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
trailing_comment_without_nl.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
trailing_whitespace.py Don't swallow trailing whitespace (#976) 2023-07-18 10:03:10 +01:00
tuple_shenanigans.py Fix parsing of parenthesized empty tuples (#712) 2022-06-26 09:41:49 +01:00
type_parameters.py PEP 695 - Type Parameter Syntax (#1004) 2023-08-28 22:07:22 +01:00
vast_emptiness.py Implement a Python PEG parser in Rust (#566) 2021-12-21 18:14:39 +00:00
with_wickedness.py Fix Github issue 855 - fail to parse with statement (#861) 2023-02-16 10:49:05 -08:00
wonky_walrus.py Fix whitespace, fstring, walrus related parse errors (#939, #938, #937, #936, #935, #934, #933, #932, #931) 2023-06-07 12:37:16 +01:00