You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/QsCompiler/DataStructures/Diagnostics.fs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -552,13 +552,13 @@ type DiagnosticItem =
552
552
| ErrorCode.UnsupportedResultComparison ->"The target {0} does not support comparing measurement results."
553
553
| ErrorCode.ResultComparisonNotInOperationIf ->
554
554
"Measurement results cannot be compared here. "+
555
-
"The execution target {0} only supports comparing measurement results as part of the condition of an if- or elif-statement in an operation."
555
+
"The target {0} only supports comparing measurement results as part of the condition of an if- or elif-statement in an operation."
556
556
| ErrorCode.ReturnInResultConditionedBlock ->
557
557
"A return statement cannot be used here. "+
558
-
"The execution target {0} does not support return statements in conditional blocks that depend on a measurement result."
558
+
"The target {0} does not support return statements in conditional blocks that depend on a measurement result."
559
559
| ErrorCode.SetInResultConditionedBlock ->
560
560
"The variable \"{0}\" cannot be reassigned here. "+
561
-
"In conditional blocks that depend on a measurement result, the execution target {1} only supports reassigning variables that were declared within the block."
561
+
"In conditional blocks that depend on a measurement result, the target {1} only supports reassigning variables that were declared within the block."
562
562
563
563
| ErrorCode.CallableRedefinition ->"Invalid callable declaration. A function or operation with the name \"{0}\" already exists."
564
564
| ErrorCode.CallableOverlapWithTypeConstructor ->"Invalid callable declaration. A type constructor with the name \"{0}\" already exists."
0 commit comments