Skip to content

Commit 5395fd4

Browse files
fix(grainfmt): Handle multiple line items and comments better (#1460)
1 parent d8cd8f1 commit 5395fd4

File tree

8 files changed

+335
-357
lines changed

8 files changed

+335
-357
lines changed

compiler/src/formatting/debug.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ let print_loc_string = (msg: string, loc: Grain_parsing.Location.t) => {
2222
);
2323
};
2424
} else {
25-
"";
25+
Printf.sprintf("Empty loc? %s %d:%d,%d\n", msg, line, startchar, endchar);
2626
};
2727
};
2828

0 commit comments

Comments
 (0)