parser: add error for array init of Results []!type{} (fix #23360) (#23375)

This commit is contained in:
Adam Oates 2025-01-05 11:09:33 -06:00 committed by GitHub
parent c77292ac2c
commit 66ac23fc57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 3 deletions

View file

@ -1051,6 +1051,7 @@ An array can be of these types:
| Thread | `[]thread int` |
| Reference | `[]&f64` |
| Shared | `[]shared MyStructType` |
| Option | `[]?f64` |
**Example Code:**