Skip to content

array: fix error message for wrong type#5

Merged
locker merged 1 commit intomasterfrom
imeevma/gh-0-temp
Mar 26, 2026
Merged

array: fix error message for wrong type#5
locker merged 1 commit intomasterfrom
imeevma/gh-0-temp

Conversation

@ImeevMA
Copy link
Copy Markdown
Collaborator

@ImeevMA ImeevMA commented Mar 26, 2026

Before this patch, if a non-array value was provided instead of an array, an error message would appear indicating that a map was given instead of an array, even if the value provided was not a map. Now the correct type name is specified.

@ImeevMA ImeevMA requested a review from unera March 26, 2026 14:37
@ImeevMA ImeevMA requested a review from locker March 26, 2026 14:38
@ImeevMA ImeevMA force-pushed the imeevma/gh-0-temp branch from 57dd4a1 to 007fbf3 Compare March 26, 2026 14:59
Before this patch, if a non-array value was provided instead of
an array, an error message would appear indicating that a `map`
was given instead of an array, even if the value provided was
not a `map`. Now the correct type name is specified.

The situation was similar with the `map`, but the predefined type
was set to `non-table`.
@ImeevMA ImeevMA force-pushed the imeevma/gh-0-temp branch from 007fbf3 to 1e9adb8 Compare March 26, 2026 15:00
@locker locker merged commit 6cabfbe into master Mar 26, 2026
1 check passed
@locker locker deleted the imeevma/gh-0-temp branch March 26, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants