Commit 6cabfbe
Fix error message for wrong type
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`.1 parent 0541ea9 commit 6cabfbe
2 files changed
Lines changed: 41 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2421 | 2421 | | |
2422 | 2422 | | |
2423 | 2423 | | |
2424 | | - | |
2425 | | - | |
2426 | | - | |
2427 | | - | |
| 2424 | + | |
| 2425 | + | |
| 2426 | + | |
| 2427 | + | |
| 2428 | + | |
| 2429 | + | |
2428 | 2430 | | |
2429 | 2431 | | |
2430 | 2432 | | |
2431 | 2433 | | |
2432 | | - | |
2433 | | - | |
2434 | | - | |
| 2434 | + | |
2435 | 2435 | | |
2436 | 2436 | | |
2437 | 2437 | | |
| |||
2591 | 2591 | | |
2592 | 2592 | | |
2593 | 2593 | | |
2594 | | - | |
2595 | | - | |
2596 | | - | |
2597 | | - | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
2598 | 2600 | | |
2599 | 2601 | | |
2600 | 2602 | | |
2601 | 2603 | | |
2602 | | - | |
2603 | | - | |
2604 | | - | |
| 2604 | + | |
2605 | 2605 | | |
2606 | 2606 | | |
2607 | 2607 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
900 | 927 | | |
0 commit comments