Commit 18ec347
committed
Add a workaround for people that use *args instead of listing
parameters when defining the scripting interfaces.
We try to count the parameters to make sure the user has
defined them correctly, but this throws the counting off.
I'm not adding a test for this because then it would seem
like we thought this was a good idea. I'd actually rather
not support it altogether, but we added the parameter checking
pretty recently so there are extant implementations that we
broke. I only want to support them, not suggest anyone else
do this going forward.1 parent 71550ff commit 18ec347
File tree
1 file changed
+6
-1
lines changed- lldb/source/Plugins/ScriptInterpreter/Python/Interfaces
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
191 | 195 | | |
192 | | - | |
| 196 | + | |
| 197 | + | |
193 | 198 | | |
194 | 199 | | |
195 | 200 | | |
| |||
0 commit comments