On Thursday, February 20, 2014 3:52:12 AM UTC+11, Stefan Karpinski wrote:
>
> Yeah, I pretty much agree with all of this. Once field access is 
> overloadable, we can just create a Direction type and define 
> (automatically) the following methods:
>

Wouldn't this syntax would be doable now without field overload?

@enum Direction begin
  NORTH = 0
  EAST = 1
  WEST = 2
  SOUTH = 3
end

Reply via email to