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
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/bicep/diagnostics/bcp414.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: BCP414
3
3
description: The `^` indexing operator can't be used on base expressions of type <data-type>.
4
4
ms.topic: reference
5
5
ms.custom: devx-track-bicep
6
-
ms.date: 05/20/2025
6
+
ms.date: 05/27/2025
7
7
---
8
8
9
9
# Bicep diagnostic code - BCP414
@@ -31,15 +31,15 @@ var config = {
31
31
output result any = config[^1] // Error: BCP414 - The "^" indexing operator cannot be used on base expressions of type "object".
32
32
```
33
33
34
-
To access properties of an object, use the `.` operator instead of `^`. The following code corrects the previous example.
34
+
Object properties aren't ordered, so they can't be accessed in reverse. The `^` operator also isn't supported when accessing properties with square bracket notation.
0 commit comments