| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1afae4c commit d86bf3c
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -56,6 +56,7 @@ or the DLL must be loaded in advance. This must be done before calling any other | |||
| 56 | 56 | - `import` may now raise errors with more detail than "No module named X" | |
| 57 | 57 | - Exception stacktraces on `PythonException.StackTrace` are now properly formatted | |
| 58 | 58 | - Providing an invalid type parameter to a generic type or method produces a helpful Python error | |
| 59 | + - Empty parameter names (as can be generated from F#) do not cause crashes | ||
| 59 | 60 | ||
| 60 | 61 | ### Removed | |
| 61 | 62 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -622,7 +622,7 @@ static object[] TryConvertArguments(ParameterInfo[] pi, bool paramsArray, | |||
| 622 | 622 | for (int paramIndex = 0; paramIndex < pi.Length; paramIndex++) | |
| 623 | 623 | { | |
| 624 | 624 | var parameter = pi[paramIndex]; | |
| 625 | - bool hasNamedParam = kwargDict.ContainsKey(parameter.Name); | ||
| 625 | + bool hasNamedParam = parameter.Name != null ? kwargDict.ContainsKey(parameter.Name) : false; | ||
| 626 | 626 | bool isNewReference = false; | |
| 627 | 627 | ||
| 628 | 628 | if (paramIndex >= pyArgCount && !(hasNamedParam || (paramsArray && paramIndex == arrayStart))) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments