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

Commit 31f3fdf

Browse files
authored
Rename "execution target" to "target" in result diagnostic messages (#511)
1 parent 2b2d262 commit 31f3fdf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/QsCompiler/DataStructures/Diagnostics.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -552,13 +552,13 @@ type DiagnosticItem =
552552
| ErrorCode.UnsupportedResultComparison -> "The target {0} does not support comparing measurement results."
553553
| ErrorCode.ResultComparisonNotInOperationIf ->
554554
"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."
556556
| ErrorCode.ReturnInResultConditionedBlock ->
557557
"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."
559559
| ErrorCode.SetInResultConditionedBlock ->
560560
"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."
562562

563563
| ErrorCode.CallableRedefinition -> "Invalid callable declaration. A function or operation with the name \"{0}\" already exists."
564564
| ErrorCode.CallableOverlapWithTypeConstructor -> "Invalid callable declaration. A type constructor with the name \"{0}\" already exists."

0 commit comments

Comments
 (0)