Skip to content
Merged
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
Fix SlotDefinition constructiom
  • Loading branch information
filmor authored Aug 12, 2022
commit 86c8cce95e64b0f4378c6814d9f58c9e0e0ff8dc
2 changes: 1 addition & 1 deletion src/runtime/Types/OperatorMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static OperatorMethod()

["__int__"] = new SlotDefinition("__int__", TypeOffset.nb_int),
["__float__"] = new SlotDefinition("__float__", TypeOffset.nb_float),
["__index__"] = new SlotDefinition("__float__", TypeOffset.nb_index),
["__index__"] = new SlotDefinition("__index__", TypeOffset.nb_index),
};
ComparisonOpMap = new Dictionary<string, string>
{
Expand Down