Skip to content

specs of gen_server2 #1

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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