microsoft / qsharp-compiler

Q# compiler, command line tool, and Q# language server
https://docs.microsoft.com/quantum
MIT License
684 stars 170 forks source link

Changing the representation of stack allocated arrays to allow for array valued command line arguments #1563

Closed bettinaheim closed 1 year ago

bettinaheim commented 1 year ago

This PR changes the representation of stack allocated arrays. The new representation allows to retroactively define the correct array length as part of a subsequent compilation step. For more details, read the comments in the code. Existing tests should cover existing functionality. Adding tests for the new functionality requires merging https://github.com/microsoft/qsharp-compiler/pull/1554; I'll add the tests once that PR has merged.

swernli commented 1 year ago

/azp run

azure-pipelines[bot] commented 1 year ago
Azure Pipelines successfully started running 2 pipeline(s).
swernli commented 1 year ago

Closing in favor of #1591.