Commit aaa9f43
committed
sigmatch: fix missing conversion for varargs containers
Summary
=======
Fix an internal-only problem with `sigmatch` handling of named
parameters in conjunction with `varargs`.
Details
=======
Unlike for unnamed parameters, the implicit array construction created
when using named parameters for passing a single value to a `varargs`
parameter was not wrapped in a to-varargs conversion, nor was the type
marked as being a varargs container (via the `tfVarargs` flag).
This caused no downstream issues so far, as all three code generators
handle the necessary run-time conversion themselves, but it's
still incorrect.1 parent 8f1463d commit aaa9f43
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2986 | 2986 | | |
2987 | 2987 | | |
2988 | 2988 | | |
| 2989 | + | |
2989 | 2990 | | |
2990 | | - | |
| 2991 | + | |
| 2992 | + | |
2991 | 2993 | | |
2992 | 2994 | | |
2993 | 2995 | | |
| |||
0 commit comments