Z3 Managed Exception: invalid argument @ Native.Z3_query_constructor @ Constructor.get_ConstructorDecl() #7669
Unanswered
JasonKleban
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Noob trying to create a datatype that holds several fields, but I'm getting an error whenever I call
.ConstructorDecl()
on the successfully builtConstructor
. I don't see a relevant .Net example to mimic. Do I need to pin the arrays or something?I'm headed toward trying to build plants in context next with something like - but this isn't relevant yet. At first I though the problem was with the arguments I was applying to the constructor, but now I realize that the error is in the
.ConstructorDecl()
call. I wonder if it is a Z3 .Net wrapper bug that it doesn't fail earlier, ie. in.MkConstructor()
?I'm using Microsoft.Z3 v4.12.2 targeting .Net 9 (F#)
Beta Was this translation helpful? Give feedback.
All reactions