Skip to content

specs of gen_server2 #1

@kostis

Description

@kostis

I was trying to track the origin of gen_server2 and I came to this place. Apologies if it's not the real origin.

I noticed that old fashioned specs are still used in the code:

-spec(hibernate/1 :: (gs2_state()) -> no_return()).

You may want to modernize these and make them look as follows:

-spec hibernate(gs2_state()) -> no_return().

Also, perhaps the use_specs ifdef is not needed anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions