Any idea on what could be causing this error?
"Error","","E1002: [PlcSequenceEngine]Abl.PlcSequenceEngine.SeqParser.Parse(System.String) IL_006F : emitting of cil code failed"
"Error","CILC0001","Error during generating native code."
Here's the function in question:
public static Sequence Parse(string json) {
var jRoot = JSONParser.Parse(json);
var jSeqInfo = JSONParser.GetReqObj(jRoot, "Seq_Info");
var jCommands = JSONParser.GetReqArr(jRoot, "Commands");
return new Sequence(
name: JSONParser.GetReqStr(jSeqInfo, "Seq_Name"),
desc: JSONParser.GetReqStr(jSeqInfo, "Description"),
commands: Funcs.Map(jCommands, j => ParseCommand(j))
);
}