Browse Source

Remove TODOs

Rudy Ges 1 year ago
parent
commit
db1c97fa1c
2 changed files with 3 additions and 4 deletions
  1. 1 2
      src/compiler/hxb/hxbReader.ml
  2. 2 2
      src/compiler/hxb/hxbWriter.ml

+ 1 - 2
src/compiler/hxb/hxbReader.ml

@@ -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 ->

+ 2 - 2
src/compiler/hxb/hxbWriter.ml

@@ -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;
@@ -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;