I stopped the compiler from crashing. After commenting out the line after the line of code to see where this happens, I came to this line:
shape.shapeType |= kTypeBreakable;
Keeping ...
shape.shapeType = shape.shapeType | kTypeBreakable;
... compiles fine. So does ...
shape.shapeType |= 0x00000200;
kTypeBreakable
is an enumeration that is set to 0x00000200
shapeType
is just an obj-c object variable with the getter / parameter.
A very unusual compiler error.
source share