Commit 007fbf3
committed
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 593800a commit 007fbf3
2 files changed
Lines changed: 40 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2420 | 2420 | | |
2421 | 2421 | | |
2422 | 2422 | | |
2423 | | - | |
2424 | | - | |
2425 | | - | |
2426 | | - | |
| 2423 | + | |
| 2424 | + | |
| 2425 | + | |
| 2426 | + | |
| 2427 | + | |
| 2428 | + | |
2427 | 2429 | | |
2428 | 2430 | | |
2429 | 2431 | | |
2430 | 2432 | | |
2431 | | - | |
2432 | | - | |
2433 | | - | |
| 2433 | + | |
2434 | 2434 | | |
2435 | 2435 | | |
2436 | 2436 | | |
| |||
2590 | 2590 | | |
2591 | 2591 | | |
2592 | 2592 | | |
2593 | | - | |
2594 | | - | |
2595 | | - | |
2596 | | - | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
2597 | 2599 | | |
2598 | 2600 | | |
2599 | 2601 | | |
| |||
| 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