shiika icon indicating copy to clipboard operation
shiika copied to clipboard

Automatically define #== of enum

Open yhara opened this issue 2 years ago • 0 comments

Given

enum A
  case Value(i: Int)
end

p A::Value.new(1) == A::Value.new(1)

Expected

true (Call #== recursively)

yhara avatar Aug 20 '22 23:08 yhara