Skip to content

Commit

Permalink
Remove TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Jan 23, 2024
1 parent a517968 commit db1c97f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/compiler/hxb/hxbReader.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1478,8 +1478,7 @@ class hxb_reader

method read_class_kind = match read_byte ch with
| 0 -> KNormal
| 1 ->
die "TODO" __LOC__
| 1 -> die "" __LOC__
| 2 -> KExpr self#read_expr
| 3 -> KGeneric
| 4 ->
Expand Down
4 changes: 2 additions & 2 deletions src/compiler/hxb/hxbWriter.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ module HxbWriter = struct
false;
| TSuper ->
Chunk.write_u8 writer.chunk 2;
true; (* TODO: ? *)
true;
| TBool false when (ExtType.is_bool (follow_lazy_and_mono e.etype)) ->
Chunk.write_u8 writer.chunk 3;
false;
Expand Down Expand Up @@ -1886,7 +1886,7 @@ module HxbWriter = struct
| KNormal ->
Chunk.write_u8 writer.chunk 0
| KTypeParameter ttp ->
die "TODO" __LOC__
die "" __LOC__
| KExpr e ->
Chunk.write_u8 writer.chunk 2;
write_expr writer e;
Expand Down

0 comments on commit db1c97f

Please sign in to comment.