Skip to content

Commit

Permalink
Fix for opaque types in launch factory
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbattle committed Nov 19, 2024
1 parent 5f39103 commit 5a97255
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vdmj/src/main/java/com/fujitsu/vdmj/pog/POLaunchFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ private String paramMatch(POPattern p, TCType type, Context ctxt) throws Excepti
else
{
List<ApplyArg> lastArgs = applyCall.applyArgs.get(applyCall.applyArgs.size() - 1);
lastArgs.add(new ApplyArg(p.toString(), type.toString(), result));
String stype = type.toString().replace(" /* opaque */", ""); // HACK!
lastArgs.add(new ApplyArg(p.toString(), stype, result));
return result;
}
}
Expand Down

0 comments on commit 5a97255

Please sign in to comment.