Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@bettinaheim
Copy link
Contributor

@bettinaheim bettinaheim commented Mar 21, 2021

In addition to the interop wrapper that is created for entry points, this PR also adds another IrFunction that has the same argument list as the interop wrapper, calls into the entry point, but instead of returning the result, uses message to print it instead, and returns void.
This PR adds the missing support to process tuples, udts, and arrays in interpolated strings.
It also fixes an issue with diagnostics from rewrite steps that seems to be a result of a recent package update of the language server package (and some inconsistent nullable information in that package).

The build on this PR is currently failing due to a missing API function in the runtime.

@bettinaheim bettinaheim requested a review from cesarzc March 21, 2021 21:12
@bettinaheim bettinaheim changed the title Separate entry point the prints the results Separate entry point that prints the results Mar 21, 2021
@bettinaheim bettinaheim requested a review from kuzminrobin March 22, 2021 05:55
Copy link
Contributor

@kuzminrobin kuzminrobin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C# is like Chinese for me. I don't understand most of it.
I looked at ExpressionKindTransformation.cs mostly (it contained a continuous block of code that seemed similar to C/C++).
All my notes can be false alarms. Feel free to ignore.
Approving.

@bettinaheim
Copy link
Contributor Author

C# is like Chinese for me. I don't understand most of it.
I looked at ExpressionKindTransformation.cs mostly (it contained a continuous block of code that seemed similar to C/C++).
All my notes can be false alarms. Feel free to ignore.
Approving.

Thanks for the review; it was very useful and very much needed.

@bettinaheim bettinaheim merged commit 8046d4a into main Mar 25, 2021
@bettinaheim bettinaheim deleted the beheim/entryPoint branch March 25, 2021 17:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants