This repository was archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 173
Compile-time errors for Q# programs not supported by QPRGen1 runtime capabilities #488
Merged
Merged
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
ccc34b2
Verify that result comparisons are in if condition
9190fbd
Add test cases for elif/else Result comparisons
73d94bc
Gen 1 result ifs can only be in operations
17da9e8
Un-skip QPRGen1 tests
029f1f6
Add new diagnostics
91d170e
Messy, but most QPRGen1 tests passing
41e00d4
Merge branch 'master' into samarsha/verify-gen1
e3ce632
Fix diagnostic messages
028e627
Update diagnostic messages
d2ac82f
Workaround to get diagnostics closer to the right place
8071f7e
Rename startOffset to rootPosition
4f6789f
Add test for return in nested scope
0c9d67f
Replace FindStatements transformation with private function
85c630a
Combine Offset and Range for return statements
51be79a
Add QsStatement.RangeRelativeToRoot
59cbfc4
Clean up verification
1aaa77d
Merge branch 'master' into samarsha/verify-gen1
bamarsha 1834f33
Use _ for discarded case value
568f786
Use QsStatement.ExtractAll
2ecba91
Use TypedExpression.Exists
92c63c8
Add new test cases, currently failing
4e10baa
Merge branch 'master' into samarsha/verify-gen1
bamarsha c83156b
Merge branch 'master' into samarsha/verify-gen1
bamarsha 1807c59
Update mutable set verification
d090b9d
Merge remote-tracking branch 'origin/samarsha/verify-gen1' into samar…
ebfb80b
Merge branch 'master' into samarsha/verify-gen1
5a1930a
Update doc comment for TreeNode.GetRootPosition
4922c33
Move verification functions to the top
5a89f1d
Move else-block normalization to verify function
58b58e3
Use common base type in isResultComparison
c7365c7
Remove QsStatement.RangeRelativeToRoot
e0861cb
Add test for mutable set of tuple
71a04e2
Add SetReusedName test case to Unknown/Gen0
d785527
Reformat new code in TryBuildIfStatement
7105644
Update diagnostic messages
9654e5b
Typo in doc comment
d9a64d9
Merge branch 'master' into samarsha/verify-gen1
bamarsha ce89dae
Remove QsNullable.ToOption
46fac78
Formatting BoolLiteral
1af573c
Don't use CommonBaseType
0689404
Add comment about no-derived-types assumption
3caeec1
Document assumptions and add tests for compound types
0d8a1fc
Remove struct tuple
e4b7d9d
Merge branch 'master' into samarsha/verify-gen1
bamarsha f5f08af
Update references to ExecutionTarget
12b15a6
Move range conversion to CompilationManager
db89527
Fix conjugation diagnostic range
71504cc
Merge branch 'master' into samarsha/verify-gen1
bamarsha dc1ad54
Merge branch 'master' into samarsha/verify-gen1
bamarsha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -107,5 +107,3 @@ type ResolvedType with | |
| | Range -> Some (Int |> ResolvedType.New) | ||
| | ArrayType bt -> Some bt | ||
| | _ -> None | ||
|
|
||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.