This simple slice module:
Produces this Obj-C method:Code:module Datatypes { struct Vector2D { double x; double y; }; };
Which yields two identical syntax errors:Code:-(NSUInteger) hash { NSUInteger h_ = 0; h_ = (h_ << 1) ^ x; h_ = (h_ << 1) ^ y; return h_; }
Code:error: invalid operands to binary ^

Reply With Quote