Fix type_invalid message to include unresolved