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:
parent
4e63bd9a80
commit
4ecd10c8ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user