Fix end location of nodes containing body

This commit is contained in:
harupy 2022-12-11 12:35:28 +09:00
parent 3abdc87076
commit 1b7a272b77
3 changed files with 9 additions and 6 deletions

View file

@ -173,7 +173,8 @@ class Foo(A, B):
def __init__(self):
pass
def method_with_default(self, arg='default'):
pass";
pass
";
insta::assert_debug_snapshot!(parse_program(source, "<test>").unwrap());
}