Primitive type hints on function names should print error message

Description

Functions returning primitives are hinted with metadata on the argument list, not on the function name. Using a primitive type hint on a function name should print an error message.

Currently, misplaced primitive hints are read without error.

Environment

None

Assignee

Alan Dipert

Reporter

Alan Dipert

Labels

Approval

Triaged

Patch

None

Priority

Major
Configure