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

Conversation

@bamarsha
Copy link
Contributor

@bamarsha bamarsha commented Apr 8, 2021

Follow up from #917 to update usages of now-deprecated UserDefinedType.Range and QsTypeParameter.Range:

  • Add TypeIdRange field to QsAttributeDeclaration.
  • Make TypeTransformationBase.OnType virtual so that IdentifierReferences has access to both the UDT record and ResolvedType.Range at the same time.

@bamarsha bamarsha mentioned this pull request Apr 8, 2021
9 tasks
@bamarsha bamarsha marked this pull request as ready for review April 8, 2021 01:02
@bamarsha bamarsha requested review from bettinaheim and swernli April 8, 2021 01:05
@swernli
Copy link
Contributor

swernli commented Apr 8, 2021

Annoyingly, I think the build failures for QIR in this PR are a result of out of sync commits in the e2e pipeline. It's completely unrelated to the changes here. I'll investigate and see if I can get that unblocked here.

@bamarsha
Copy link
Contributor Author

bamarsha commented Apr 8, 2021

@swernli I think it should already be fixed since I merged main into feature/qep2 in runtime, but I haven't re-run the builds here.

@bamarsha bamarsha merged commit fae3c8a into feature/qep2 Apr 9, 2021
bamarsha added a commit to microsoft/qsharp-runtime that referenced this pull request Apr 9, 2021
@bamarsha bamarsha deleted the samarsha/update-deprecated-ranges branch April 9, 2021 17:04
bamarsha added a commit to microsoft/qsharp-runtime that referenced this pull request Apr 22, 2021
* Add C# gen for sized array

* Implement QArray.Repeat

* Add more array tests

* Add doc comments

* More efficient array creation

* Remove TODO, leave exception type untested

* Formatting

* Update packages

* Add tests for ref counts in array-of-arrays

* Capture value expression

* Undo QscVerbosity

* Clean up QArrayInner.Extend

* Increment ref count N times

* Add comment about exception type

* Update packages

* Fix partial application code gen test

* Update SDK package

* Update Microsoft.Quantum.CSharpGeneration.fsproj

* Update Microsoft.Quantum.CSharpGeneration.fsproj

* Update C# generation tests for microsoft/qsharp-compiler#952

* Update global.json
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.

4 participants