Skip to content

Datatype.triple is missing

ID0001277: This issue was created automatically from Mantis Issue 1277. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0001277 Frama-C Kernel public 2012-09-20 2014-02-12
Reporter Anne Assigned To signoles Resolution fixed
Priority normal Severity tweak Reproducibility have not tried
Platform - OS - OS Version -
Product Version Frama-C Oxygen-20120901 Target Version - Fixed in Version Frama-C Fluorine-20130401

Description :

I used to have : Dynamic.register ... (Datatype.func Cil_datatype.Stmt.ty XXX.ty) with module XXX = Datatype.Triple (Datatype.List (Datatype.String)) (Datatype.List (Datatype.String)) (Datatype.List (Datatype.String))

but I guess that was wrong since in the new Oxygen version, it produces : "Invalid_argument("Descr.of_structural: inconsistent descriptor")" when I load my plug-in.

so now I am using : let ty = Datatype.triple (Datatype.list Datatype.string) (Datatype.list Datatype.string) (Datatype.list Datatype.string) instead of XXX.ty, and it is working, but I had to patch Datatype since it didn't define 'triple'. Could it be added in a next version, or is there another way of doing it ?

Thanks.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information