fix #17853 (ascii message separator broke json nim dump) (#17887)

This commit is contained in:
Timothee Cour 2021-04-29 02:25:08 -07:00 • committed by GitHub
commit 87229e272e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 24 additions and 4 deletions

View file

@ -291,6 +291,7 @@ proc `??`* (conf: ConfigRef; info: TLineInfo, filename: string): bool =
const
UnitSep = "\31"
# this needs care to avoid issues similar to https://github.com/nim-lang/Nim/issues/17853
type
MsgFlag* = enum ## flags altering msgWriteln behavior