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

Conversation

@ricardo-espinoza
Copy link
Contributor

No description provided.

bamarsha and others added 21 commits June 22, 2020 13:49
…449)

* Prevent result equality with QPRGen0

* Move more fields from SymbolTracker to ResolutionContext

* Undo some changes to TypeChecking.cs

* Move ResolutionContext up a bit

* Better error message

* Add basic tests

* Add more tests (but not working right now...)

* Fix tests

* Add tests for not equals

* Use static member for Create

* Move ResolutionContext to SymbolTracker.fs

* Update doc comment to ArgumentException

Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>

* Replace failwith with ArgumentException

* Mention SymbolTracker versioning in ResolutionContext

* Restore supportsEqualityComparison and use VerifyIsOneOf

* Undo changes to VerificationTools.fs

* Rename ResolutionContext to ScopeContext

* Include execution target in error message

* Make ScopeContext.ExecutionTarget non-nullable

* Update error message

Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>
Reordered the steps of the classically controlled rewrite to have the if-statement restructuring done first.
* Use Uri.LocalPath instead of Uri.AbsolutePath

* Fix attribute reader test

* Update packages to fix tests

* Add GetFileId and deprecate TryGetFileId

* Re-add null URI check

Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>
Added NoOp to precondition dependency list for classical control.
Removed NoOp to precondition dependency list for classical control.
* Add informational version to --version.

* Fix `s.

* Apply suggestions from code review

* Update build/build.ps1

Co-authored-by: Ryan Shaffer <ryan.shaffer@microsoft.com>

* Apply suggestions from code review

Co-authored-by: Ryan Shaffer <ryan.shaffer@microsoft.com>

* Fixed test.ps1.

Co-authored-by: Ryan Shaffer <ryan.shaffer@microsoft.com>
* Use Semver.Version for VS VSIX filename

* Set Semver.Version in CI

* Use SEMVER_VERSION env variable in .csproj

* Undo unneeded changes

* Add SemverVersion property to .csproj

* Use #SEMVER_VERSION# for .csproj

* Improve filter

* Use task.setvariable

* Update VSIX_VERSION correctly

* Separate VSIX version for VS and VSCode extensions

* Use SEMVER_VERSION directly for VSCode vsix
Co-authored-by: bettinaheim <34236215+bettinaheim@users.noreply.github.com>
Co-authored-by: Bettina Heim <beheim@microsoft.com>
* Fix error handling in compilation loader/manager

* Show original exceptions in tests
Added NoOp to precondition verification for ClassicallyControlled.
…capabilities (#488)

* Verify that result comparisons are in if condition

* Add test cases for elif/else Result comparisons

* Gen 1 result ifs can only be in operations

* Un-skip QPRGen1 tests

* Add new diagnostics

* Messy, but most QPRGen1 tests passing

* Fix diagnostic messages

* Update diagnostic messages

* Workaround to get diagnostics closer to the right place

* Rename startOffset to rootPosition

* Add test for return in nested scope

* Replace FindStatements transformation with private function

* Combine Offset and Range for return statements

* Add QsStatement.RangeRelativeToRoot

* Clean up verification

* Use _ for discarded case value

* Use QsStatement.ExtractAll

* Use TypedExpression.Exists

* Add new test cases, currently failing

* Update mutable set verification

* Update doc comment for TreeNode.GetRootPosition

* Move verification functions to the top

* Move else-block normalization to verify function

* Use common base type in isResultComparison

* Remove QsStatement.RangeRelativeToRoot

* Add test for mutable set of tuple

* Add SetReusedName test case to Unknown/Gen0

* Reformat new code in TryBuildIfStatement

* Update diagnostic messages

* Typo in doc comment

* Remove QsNullable.ToOption

* Formatting BoolLiteral

* Don't use CommonBaseType

* Add comment about no-derived-types assumption

* Document assumptions and add tests for compound types

* Remove struct tuple

* Update references to ExecutionTarget

* Move range conversion to CompilationManager

* Fix conjugation diagnostic range
@ricardo-espinoza ricardo-espinoza merged commit 60f75c0 into features/yeoman-templates Jul 7, 2020
@ricardo-espinoza ricardo-espinoza deleted the ricardoe/merge-master_2002-07-07 branch July 14, 2020 06:25
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.

9 participants