Reduce some more code duplication

This commit is contained in:
Lukas Wirth 2020-12-22 19:00:38 +01:00
parent 2cd2947bf8
commit 83121efcd5
5 changed files with 76 additions and 94 deletions

View file

@ -34,7 +34,6 @@ impl Builder {
return false;
}
if ctx.is_pattern_call {
mark::hit!(dont_duplicate_pattern_parens);
return false;
}
if ctx.is_call {