-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Port with Return Type Not Autocoded Correctly #48
Comments
What type of port did you define it as? (sycn, async, guarded?) |
Synchronous Input |
I put it in a repository after moving things around, so the errors have changed slightly: |
Did you remake |
The problem remains after I rerun |
I manually changed the return types of the functions in the impl files, which seems to work. |
We'll still need to test for this bug before closing out the issue. Thanks for the report. |
Reviewing this issue, this is expected behavior. We don't automatically update the impl files, as we do not want to clobber outstanding work that the user has done. Once the implementation generator is run, the user owns the files and must manually update or manually regenerate (and move from the _template outputs). |
I am trying to make a port that has a return type, and have put the return type in the port definition XML. However, when I make a component that uses this port and should return a value, the impl files are generated with the associated function having a return type of void. This causes the compile error below when I rebuild, and makes sense since there doesn't seem to be a way signify a return type in component XML.
Do I have to manually chance the return types of the Impl files, or is there something else I can do to fix this through the autocoder?
The text was updated successfully, but these errors were encountered: