From 2c339b958f535a68bfbf87e01c247fd3826ba3cf Mon Sep 17 00:00:00 2001 From: Jonathan Eskew Date: Fri, 27 Dec 2024 17:15:31 -0500 Subject: [PATCH] Regenerate baselines --- .../Files/baselines/Functions/sys.json | 19 +++++++++++++++++ .../Completions/symbols.json | 21 +++++++++++++++++++ .../Completions/sysFunctions.json | 21 +++++++++++++++++++ .../Completions/symbolsPlusX.json | 21 +++++++++++++++++++ .../Completions/symbolsPlusX_if.json | 21 +++++++++++++++++++ .../Completions/arrayPlusSymbols.json | 21 +++++++++++++++++++ .../Completions/boolPlusSymbols.json | 21 +++++++++++++++++++ .../Completions/objectPlusSymbols.json | 21 +++++++++++++++++++ .../Completions/symbols.json | 21 +++++++++++++++++++ .../Completions/arrayPlusSymbols.json | 21 +++++++++++++++++++ .../Completions/boolPlusSymbols.json | 21 +++++++++++++++++++ .../Completions/justSymbols.json | 21 +++++++++++++++++++ .../Completions/objectPlusSymbols.json | 21 +++++++++++++++++++ .../Completions/arrayPlusSymbols.json | 21 +++++++++++++++++++ .../boolPropertyValuesPlusSymbols.json | 21 +++++++++++++++++++ .../cleanupPreferencesPlusSymbols.json | 21 +++++++++++++++++++ .../cliPropertyAccessIndexesPlusSymbols.json | 21 +++++++++++++++++++ ...iPropertyAccessIndexesPlusSymbols_for.json | 21 +++++++++++++++++++ ...opertyAccessIndexesPlusSymbols_for_if.json | 21 +++++++++++++++++++ ...liPropertyAccessIndexesPlusSymbols_if.json | 21 +++++++++++++++++++ .../createModeIndexPlusSymbols.json | 21 +++++++++++++++++++ .../createModeIndexPlusSymbols_for.json | 21 +++++++++++++++++++ .../createModeIndexPlusSymbols_for_if.json | 21 +++++++++++++++++++ .../createModeIndexPlusSymbols_if.json | 21 +++++++++++++++++++ .../Completions/defaultCreateModeIndexes.json | 21 +++++++++++++++++++ .../defaultCreateModeIndexes_for.json | 21 +++++++++++++++++++ .../defaultCreateModeIndexes_for_if.json | 21 +++++++++++++++++++ .../defaultCreateModeIndexes_if.json | 21 +++++++++++++++++++ .../deploymentScriptKindsPlusSymbols.json | 21 +++++++++++++++++++ .../deploymentScriptKindsPlusSymbols_for.json | 21 +++++++++++++++++++ ...ploymentScriptKindsPlusSymbols_for_if.json | 21 +++++++++++++++++++ .../deploymentScriptKindsPlusSymbols_if.json | 21 +++++++++++++++++++ ...DiscriminatorPropertyIndexPlusSymbols.json | 21 +++++++++++++++++++ ...riminatorPropertyIndexPlusSymbols_for.json | 21 +++++++++++++++++++ ...inatorPropertyIndexPlusSymbols_for_if.json | 21 +++++++++++++++++++ ...criminatorPropertyIndexPlusSymbols_if.json | 21 +++++++++++++++++++ .../Completions/objectPlusSymbols.json | 21 +++++++++++++++++++ ...jectPlusSymbolsWithRequiredProperties.json | 21 +++++++++++++++++++ .../storageSkuNamePlusSymbols.json | 21 +++++++++++++++++++ .../Completions/symbols.json | 21 +++++++++++++++++++ .../Completions/symbolsPlusAccount1.json | 21 +++++++++++++++++++ .../Completions/symbolsPlusAccount2.json | 21 +++++++++++++++++++ .../symbolsPlusAccountRuleState.json | 21 +++++++++++++++++++ .../Completions/symbolsPlusArrayAndFor.json | 21 +++++++++++++++++++ .../symbolsPlusArrayWithoutFor.json | 21 +++++++++++++++++++ .../Completions/symbolsPlusRule.json | 21 +++++++++++++++++++ .../Completions/objectVarTopLevelIndexes.json | 21 +++++++++++++++++++ .../Completions/symbols.json | 21 +++++++++++++++++++ .../Completions/twoIndexPlusSymbols.json | 21 +++++++++++++++++++ .../Completions/symbolsPlusTypes.json | 21 +++++++++++++++++++ 50 files changed, 1048 insertions(+) diff --git a/src/Bicep.Core.Samples/Files/baselines/Functions/sys.json b/src/Bicep.Core.Samples/Files/baselines/Functions/sys.json index d991a97b822..98feab13dd7 100644 --- a/src/Bicep.Core.Samples/Files/baselines/Functions/sys.json +++ b/src/Bicep.Core.Samples/Files/baselines/Functions/sys.json @@ -438,6 +438,25 @@ "stringToFind: string" ] }, + { + "name": "fail", + "description": "Raises a runtime error with the provided message. Will cause a deployment to fail when evaluated.", + "fixedParameters": [ + { + "name": "message", + "description": "The error message to use.", + "type": "string", + "required": true + } + ], + "minimumArgumentCount": 1, + "maximumArgumentCount": 1, + "flags": "default", + "typeSignature": "(message: string): never", + "parameterTypeSignatures": [ + "message: string" + ] + }, { "name": "filter", "description": "Filters an array with a custom filtering function.", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidExpressions_LF/Completions/symbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidExpressions_LF/Completions/symbols.json index cc9675add70..51fa27c45a6 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidExpressions_LF/Completions/symbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidExpressions_LF/Completions/symbols.json @@ -880,6 +880,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "fakeFunc", "kind": "variable", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidExpressions_LF/Completions/sysFunctions.json b/src/Bicep.Core.Samples/Files/baselines/InvalidExpressions_LF/Completions/sysFunctions.json index b8d601b1ad1..414e38e2e69 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidExpressions_LF/Completions/sysFunctions.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidExpressions_LF/Completions/sysFunctions.json @@ -398,6 +398,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidModules_LF/Completions/symbolsPlusX.json b/src/Bicep.Core.Samples/Files/baselines/InvalidModules_LF/Completions/symbolsPlusX.json index c830429b731..73ba36dc510 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidModules_LF/Completions/symbolsPlusX.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidModules_LF/Completions/symbolsPlusX.json @@ -1006,6 +1006,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidModules_LF/Completions/symbolsPlusX_if.json b/src/Bicep.Core.Samples/Files/baselines/InvalidModules_LF/Completions/symbolsPlusX_if.json index 1ab65b417d2..affa55d4511 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidModules_LF/Completions/symbolsPlusX_if.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidModules_LF/Completions/symbolsPlusX_if.json @@ -1006,6 +1006,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/arrayPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/arrayPlusSymbols.json index 14cba143c3d..fb9020e4a83 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/arrayPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/arrayPlusSymbols.json @@ -474,6 +474,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/boolPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/boolPlusSymbols.json index 72f866fd9cd..0c1e71faf6d 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/boolPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/boolPlusSymbols.json @@ -460,6 +460,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "false", "kind": "keyword", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/objectPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/objectPlusSymbols.json index 7a68fe64fe7..67f891f44a9 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/objectPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/objectPlusSymbols.json @@ -460,6 +460,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/symbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/symbols.json index 48f39b48191..0adc0ff5071 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/symbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidOutputs_CRLF/Completions/symbols.json @@ -460,6 +460,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/arrayPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/arrayPlusSymbols.json index c3b872db75c..c6749611003 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/arrayPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/arrayPlusSymbols.json @@ -640,6 +640,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "fatalErrorInIssue1713", "kind": "field", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/boolPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/boolPlusSymbols.json index 8e402b1975d..4c119c3aec4 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/boolPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/boolPlusSymbols.json @@ -626,6 +626,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "false", "kind": "keyword", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/justSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/justSymbols.json index 2d8ba70dfa1..a319ad5238e 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/justSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/justSymbols.json @@ -626,6 +626,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "fatalErrorInIssue1713", "kind": "field", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/objectPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/objectPlusSymbols.json index 26d1d25336b..6f61833ff4e 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/objectPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidParameters_LF/Completions/objectPlusSymbols.json @@ -644,6 +644,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "fatalErrorInIssue1713", "kind": "field", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/arrayPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/arrayPlusSymbols.json index f73c7ebc55b..c45e4832858 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/arrayPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/arrayPlusSymbols.json @@ -2352,6 +2352,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/boolPropertyValuesPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/boolPropertyValuesPlusSymbols.json index a73905ec228..de9897727a8 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/boolPropertyValuesPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/boolPropertyValuesPlusSymbols.json @@ -2321,6 +2321,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "false", "kind": "keyword", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cleanupPreferencesPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cleanupPreferencesPlusSymbols.json index cb1999333fd..f97d2c80179 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cleanupPreferencesPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cleanupPreferencesPlusSymbols.json @@ -2380,6 +2380,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols.json index 8a49df0e421..debe8ea0cad 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols.json @@ -2594,6 +2594,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for.json index 6c08f8553b4..31b84044b58 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for.json @@ -2594,6 +2594,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for_if.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for_if.json index d628587df82..743c470bb0e 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for_if.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for_if.json @@ -2594,6 +2594,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_if.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_if.json index a486eba8d70..97212a481dd 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_if.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_if.json @@ -2594,6 +2594,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols.json index 909752609ae..885f346fb5d 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols.json @@ -2356,6 +2356,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for.json index 84a5b08cbea..5209ad151c0 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for.json @@ -2356,6 +2356,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for_if.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for_if.json index 677f1bb3783..7ae05836102 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for_if.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for_if.json @@ -2356,6 +2356,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_if.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_if.json index 31445a45c08..5dbfa5e11fe 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_if.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_if.json @@ -2356,6 +2356,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes.json index 8f22e2e07eb..8de89ced3ec 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes.json @@ -2842,6 +2842,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for.json index 3b53918df28..ded152e1d89 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for.json @@ -2842,6 +2842,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for_if.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for_if.json index c1e53ae1154..0d0eef76fc1 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for_if.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for_if.json @@ -2842,6 +2842,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_if.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_if.json index e0162458f42..2bb67533ab0 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_if.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_if.json @@ -2842,6 +2842,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols.json index 4522c4df03e..4f370511189 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols.json @@ -2349,6 +2349,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for.json index 9cecdd2cc2b..5142d29b3e8 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for.json @@ -2349,6 +2349,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for_if.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for_if.json index 6dcba811e5f..b4018b4ecee 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for_if.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for_if.json @@ -2349,6 +2349,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_if.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_if.json index d1f761ba93b..095b5c37af0 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_if.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_if.json @@ -2349,6 +2349,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols.json index c7556c0a00a..03c075e3b19 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols.json @@ -2342,6 +2342,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for.json index 89eb2e1a9bc..0a81bc35c16 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for.json @@ -2342,6 +2342,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for_if.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for_if.json index 4a36dcf7e03..e1dd1febffd 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for_if.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for_if.json @@ -2342,6 +2342,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_if.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_if.json index d2ce5e7f9c9..ebfa0d592a2 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_if.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_if.json @@ -2342,6 +2342,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/objectPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/objectPlusSymbols.json index cb4d55aad1a..8b806dd968e 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/objectPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/objectPlusSymbols.json @@ -2338,6 +2338,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/objectPlusSymbolsWithRequiredProperties.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/objectPlusSymbolsWithRequiredProperties.json index 686bf4003be..0369b8efd63 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/objectPlusSymbolsWithRequiredProperties.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/objectPlusSymbolsWithRequiredProperties.json @@ -2338,6 +2338,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/storageSkuNamePlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/storageSkuNamePlusSymbols.json index aafb5bdcb7f..7e31a53afba 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/storageSkuNamePlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/storageSkuNamePlusSymbols.json @@ -2464,6 +2464,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbols.json index 641d91ee8ab..a980132495c 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbols.json @@ -2338,6 +2338,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusAccount1.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusAccount1.json index b0cefd09981..8937966f656 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusAccount1.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusAccount1.json @@ -2352,6 +2352,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusAccount2.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusAccount2.json index b0cefd09981..8937966f656 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusAccount2.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusAccount2.json @@ -2352,6 +2352,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusAccountRuleState.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusAccountRuleState.json index 3ee27df09b0..e25785e7909 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusAccountRuleState.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusAccountRuleState.json @@ -2352,6 +2352,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusArrayAndFor.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusArrayAndFor.json index 56b335ce695..b8d5684b9b7 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusArrayAndFor.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusArrayAndFor.json @@ -2352,6 +2352,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusArrayWithoutFor.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusArrayWithoutFor.json index 23df101708a..dbc1a366e28 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusArrayWithoutFor.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusArrayWithoutFor.json @@ -2352,6 +2352,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusRule.json b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusRule.json index a3240c70759..4505dae50d5 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusRule.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidResources_CRLF/Completions/symbolsPlusRule.json @@ -2352,6 +2352,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidVariables_LF/Completions/objectVarTopLevelIndexes.json b/src/Bicep.Core.Samples/Files/baselines/InvalidVariables_LF/Completions/objectVarTopLevelIndexes.json index 70a623a15c9..fd9b0b85afc 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidVariables_LF/Completions/objectVarTopLevelIndexes.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidVariables_LF/Completions/objectVarTopLevelIndexes.json @@ -614,6 +614,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidVariables_LF/Completions/symbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidVariables_LF/Completions/symbols.json index 72c52768004..55e8ef211ca 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidVariables_LF/Completions/symbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidVariables_LF/Completions/symbols.json @@ -614,6 +614,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/InvalidVariables_LF/Completions/twoIndexPlusSymbols.json b/src/Bicep.Core.Samples/Files/baselines/InvalidVariables_LF/Completions/twoIndexPlusSymbols.json index 8d7d8e0d454..bb4bde34dcd 100644 --- a/src/Bicep.Core.Samples/Files/baselines/InvalidVariables_LF/Completions/twoIndexPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/baselines/InvalidVariables_LF/Completions/twoIndexPlusSymbols.json @@ -632,6 +632,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/baselines/Variables_LF/Completions/symbolsPlusTypes.json b/src/Bicep.Core.Samples/Files/baselines/Variables_LF/Completions/symbolsPlusTypes.json index 25919f9a3c9..55f233abf4b 100644 --- a/src/Bicep.Core.Samples/Files/baselines/Variables_LF/Completions/symbolsPlusTypes.json +++ b/src/Bicep.Core.Samples/Files/baselines/Variables_LF/Completions/symbolsPlusTypes.json @@ -905,6 +905,27 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "fail", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_fail", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "fail($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "filter", "kind": "function",