3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 02:45:51 +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

@ -68,13 +68,7 @@ public class FuncDecl extends AST
**/
public FuncDecl translate(Context ctx)
{
if (getContext() == ctx) {
return this;
} else {
return new FuncDecl(ctx, Native.translate(getContext().nCtx(),
getNativeObject(), ctx.nCtx()));
}
return (FuncDecl) super.translate(ctx);
}
/**