diff options
| author | Alasdair Armstrong | 2018-01-22 14:33:01 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-01-22 14:33:01 +0000 |
| commit | 6eee8747074539f77881cea90ce848cd8f4de1a5 (patch) | |
| tree | b3233fb496abd6e26293f8dccb9370698199dde4 /src | |
| parent | 1f8ac16d110e2b964a482c083e3782f406e94b69 (diff) | |
Add regression test for type synonym with constraints inside existential typechecking bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/lexer.mll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lexer.mll b/src/lexer.mll index cd82a3b9..21b70c5f 100644 --- a/src/lexer.mll +++ b/src/lexer.mll @@ -271,7 +271,7 @@ rule token = parse Lexing.lexeme_start_p lexbuf)) } and line_comment pos = parse - | "\n" { () } + | "\n" { Lexing.new_line lexbuf; () } | _ { line_comment pos lexbuf } | eof { raise (LexError("File ended before newline in comment", pos)) } |
