Use @autoclosure()

For work around "unimplemented IR generation feature non-fixed multi-payload enum layout"