1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 16:33:03 +03:00

Make sure we handle unhandled in typesetting

This commit is contained in:
Timothy Clem 2018-08-21 09:37:06 -07:00
parent 4e63bd9a80
commit 4ecd10c8ed

View File

@ -16,6 +16,7 @@ typesetting :: Monad m => ProcessT m Splice (Doc a)
typesetting = auto step
step :: Splice -> Doc a
step (Unhandled _ _) = mempty -- TODO: Do we drop uhandled splices at this point?
step (Original t ) = pretty t
step (Insert _ _ t) = pretty t
step (Directive SoftWrap) = softline