diff --git a/src/doc-debug.js b/src/doc-debug.js index 299fc8c33..0c6aada35 100644 --- a/src/doc-debug.js +++ b/src/doc-debug.js @@ -99,6 +99,10 @@ function printDoc(doc) { return "lineSuffix(" + printDoc(doc.contents) + ")"; } + if (doc.type === "line-suffix-boundary") { + return "lineSuffixBoundary"; + } + throw new Error("Unknown doc type " + doc.type); }