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

Commit 18ee40d

Browse files
authored
Deprecate Default (#1071)
Closes #975.
1 parent f620469 commit 18ee40d

File tree

1 file changed

+1
-1
lines changed
  • src/Simulation/QSharpFoundation

1 file changed

+1
-1
lines changed

src/Simulation/QSharpFoundation/Core.qs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ namespace Microsoft.Quantum.Core {
4545
/// # Type Parameters
4646
/// ## 'T
4747
/// The type of the default value to return.
48-
///
48+
@Deprecated("")
4949
function Default<'T> () : 'T {
5050
return (new 'T[1])[0];
5151
}

0 commit comments

Comments
 (0)