Looks like the following:
func @foo() {
}
is accepted today by the FuncOp
parser, but since the region is empty, the parsed function is considered a declaration. That seems deceptive. Should we fail the to parse this (i.e., fail parsing if the parsed region is specified but empty)?
Thanks,
Rahul