Skip to content

Commit 8ccb68a

Browse files
committed
TODOs for the HPC-GAP serializer code
1 parent 9d1839a commit 8ccb68a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/hpc/serialize.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727

2828
#include <stdio.h>
2929

30+
// TODO/FIXME: serialize mutability information again somehow?
31+
3032
typedef struct SerializerState {
3133
Obj stack;
3234
Obj obj;
@@ -761,6 +763,7 @@ static Obj DeserializeTypedObj(DeserializerState * state, UInt tnum)
761763
ErrorQuit("DeserializeTypedObj: expected plist, got %s", (Int)TNAM_OBJ(result), 0);
762764
break;
763765
case T_PREC:
766+
// TODO/FIXME: reject immutable ones?
764767
result = DeserializeObj(state);
765768
if (TNUM_OBJ(result) != T_COMOBJ)
766769
ErrorQuit("DeserializeTypedObj: expected component object, got %s", (Int)TNAM_OBJ(result), 0);

0 commit comments

Comments
 (0)