3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-26 02:25:32 +00:00

Fixed AST translation functions in .NET and Java APIs. Fixes #1073.

This commit is contained in:
Christoph M. Wintersteiger 2017-06-14 13:24:54 +01:00
parent 2d1abf2795
commit d8a02bc040
12 changed files with 133 additions and 62 deletions

View file

@ -87,6 +87,19 @@ public class Sort extends AST
return Native.sortToString(getContext().nCtx(), getNativeObject());
}
/**
* Translates (copies) the sort to the Context {@code ctx}.
*
* @param ctx A context
*
* @return A copy of the sort which is associated with {@code ctx}
* @throws Z3Exception on error
**/
public Sort translate(Context ctx)
{
return (Sort) super.translate(ctx);
}
/**
* Sort constructor
**/