Minor: fix parser error message
Parser: allow function types as receiver type for function