diff --git a/IDE/src/Commands.bf b/IDE/src/Commands.bf index a7c6ee0d..80e6faf2 100644 --- a/IDE/src/Commands.bf +++ b/IDE/src/Commands.bf @@ -15,6 +15,7 @@ namespace IDE return (int)mKeyCode | (int)mKeyFlags << 16; } + [Commutable] public static bool operator==(KeyState val1, KeyState val2) { return (val1.mKeyCode == val2.mKeyCode) && diff --git a/IDE/src/ui/ClassViewPanel.bf b/IDE/src/ui/ClassViewPanel.bf index 8a96b19f..c664e109 100644 --- a/IDE/src/ui/ClassViewPanel.bf +++ b/IDE/src/ui/ClassViewPanel.bf @@ -231,6 +231,7 @@ namespace IDE.ui return this == other; } + [Commutable] public static bool operator==(PendingEntry val1, PendingEntry val2) { if (((Object)val1 == null) || ((Object)val2 == null)) diff --git a/IDE/src/util/SourceHash.bf b/IDE/src/util/SourceHash.bf index 062ccf49..777541e2 100644 --- a/IDE/src/util/SourceHash.bf +++ b/IDE/src/util/SourceHash.bf @@ -72,6 +72,7 @@ namespace IDE.util } } + [Commutable] public static bool operator==(SourceHash lhs, SourceHash rhs) { switch (lhs)