-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(c#): strings code generation test #760
fix(c#): strings code generation test #760
Conversation
207a72b
to
06949c2
Compare
Signed-off-by: James Sturtevant <[email protected]>
06949c2
to
6c0648f
Compare
Signed-off-by: James Sturtevant <[email protected]>
6c0648f
to
7caa7b8
Compare
Signed-off-by: James Sturtevant <[email protected]>
I tried this out and was able to get the code to work, both for supplying and receiving strings. Great job! One thing that doesn't seem to work quite right is the current .NET implementation of
As a workaround, if you first call any other export that only deals with |
Thanks for taking a look. This sounds like a bug we should address outside of this PR? |
Agreed - I was only reporting it here because this PR seems like the first scenario where the problem can manifest. Prior to this we were limited to working with .NET value types rather than heap objects, so Would you recommend this be reported as a general issue on this repo? Also a further problem I found was that it becomes necessary to declare |
I've created a few issues and linked in the overall tracking issue: #713 |
This fixes the code generation for the strings wit file. Re-enables a test disabled during #738.
I am much more unsure about this fix. There were there issues in the project:
returnArea
returnAreas
out int length
twice due multiple argumentsI am unsure if
ReturnArea
needs to be unique per imported function (same for outputs). update: Added a runtime test for string so feel much more confident.