AstGen: simplify function return type expressions

This check for primitives is already handled by the generic logic that
checks if the body ends up being empty. I kept this commit in the git
history in case we ever want that nodePrimitive function again in the
future, it might be useful.
7e98b047ddAndrew Kelley committed on 5/30/2022, 7:03:53 PMparent9da3a05
1 file changedLine totals unavailable