When clang-format sorts includes alphabetically, MethodBind breaks. Trying to move the object.h include upward in method_bind.h does not seem to fix the problem, this needs investigation.
@@ -26,7 +26,10 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+// object.h needs to be the first include *before* method_bind.h
+// FIXME: Find out why and fix potential cyclical dependencies.
#include "object.h"
+
#include "method_bind.h"