Skip to content

Commit

Permalink
Fix another string/bnytes bug in dypgen.
Browse files Browse the repository at this point in the history
  • Loading branch information
skaller committed Sep 3, 2022
1 parent c16497a commit 1146808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/dypgen/dypgen/extract_type.mll
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ and fst_in_conj fun_typ = parse
| [^'&''(''['']''|'] + { fst_in_conj fun_typ lexbuf }
| '&' { let start_pos = Lexing.lexeme_start lexbuf in
let end_pos = end_of_conj lexbuf in
String.fill fun_typ start_pos (end_pos-start_pos) ' ' }
Bytes.fill fun_typ start_pos (end_pos-start_pos) ' ' }
| ['(''['] { remove_conj_2 fun_typ lexbuf;
fst_in_conj fun_typ lexbuf }
| ['|'']'] { () }
Expand Down

0 comments on commit 1146808

Please sign in to comment.