check comma count in enum instead
This commit is contained in:
1 parent
43589a56b7
commit
ab53900c95
2 files changed
+12
-8
No files matched your search
@@ -31,7 +31,7 @@ sort_attribute :: proc(s: ^[dynamic]^ast.Attribute) -> sort.Interface {
|
||||
|
||||
@(private)
|
||||
comment_before_position :: proc(p: ^Printer, pos: tokenizer.Pos) -> bool {
|
||||
|
||||
|
||||
if len(p.comments) <= p.latest_comment_index {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user