on master help sign in
Keep docs as text for now

Need to do specific experimentation to see when it makes sense to copy the bytes out of the ByteString. Also need to check if the docComment parser is verifying that it is valid UTF-8.

commit32a550ac746b3d2cbd13ba113091858d4733acdc authorEvan Czaplicki <evancz@users.noreply.github.com> dateThu 15 Nov 2018, 17:38 (8 years ago) parent75f0ef4
1 file changed+1−1
compiler/src/AST/Source.hs+1−1
compiler/src/AST/Source.hs+1−1
@@ -127,7 +127,7 @@ data Decl_
127127 | Alias (A.Located N.Name) [A.Located N.Name] Type
128128 | Binop N.Name Binop.Associativity Binop.Precedence N.Name
129129 | Port (A.Located N.Name) Type
130− | Docs Utf8
130+ | Docs Text
131131 | Annotation (A.Located N.Name) Type
132132 | Definition (A.Located N.Name) [Pattern] Expr
133133