Re: FFI enums are now always boxed

  • From: Leo Razoumov <slonik.az@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Thu, 19 Jul 2012 18:37:42 -0400

On Thu, Jul 19, 2012 at 5:39 AM, Mike Pall <mike-1207@xxxxxxxxxx> wrote:
> Francesco Abbate wrote:
>> These are just some quite straightforward suggestions but I strongly
>> advice to remove the string equality feature of enumerations.
>
> No.
>
> --Mike

Mike,
what is your response to non-transitivity of the == operation pointed
out by Francesco?

function crazyMe(a,b,c)
  if a==b and b==c and a ~= c then
     print("Ahh...losing my mind...")
  end
end

--Leo--

Other related posts: