Parse a : before each effects entry

This commit is contained in:
Richard Feldman 2020-11-07 11:42:55 -05:00
parent 51b838010c
commit c8b28b96fa
4 changed files with 34 additions and 11 deletions

View file

@ -75,6 +75,7 @@ pub enum EffectsEntry<'a> {
/// printLine : Str -> Effect {}
Effect {
ident: Loc<&'a str>,
spaces_before_colon: &'a [CommentOrNewline<'a>],
ann: Loc<TypeAnnotation<'a>>,
},