var value: NSUInteger := ((topLeft or (topRight shl 1)) or (bottomLeft shl 2)) or (bottomRight shl 3);
It should be:
var value: NSUInteger := ((topLeft.integerValue or (topRight.integerValue shl 1)) or (bottomLeft.integerValue shl 2)) or (bottomRight.integerValue shl 3);
That’s as designed. Oxidizer doesn’t understand your code, logically. it just converts Syntax. It ha son idea what “topLeft” is (nor do i, from the snippet ;), or what members it may have.
OK, thanks. I wasn’t sure about how ‘smart’ Oxidizer is, as it seems pretty smart most of the time . I didn’t know if it looked at the context of stuff like this. In this case it was part of another block I pasted which included the definition of topLeft (a Boolean) but it also did the same thing as a line on its own.