Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add TODO
  • Loading branch information
koubaa committed Dec 1, 2019
commit 4b0a1ad1f28368f31b9da286bd8cc5da5417c1ca
1 change: 1 addition & 0 deletions src/runtime/converter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,7 @@ private static bool ToAction(IntPtr value, Type obType, out object result, bool
/// Convert a Python value to a correctly typed managed list instance.
/// The Python value must support the Python iterator protocol or and the
/// items in the sequence must be convertible to the target array type.
/// TODO - remove duplication with ToArray!
/// </summary>
private static bool ToList(IntPtr value, Type obType, out object result, bool setError) {
Type elementType = obType.GetGenericArguments()[0];
Expand Down