Uploaded image for project: 'Erlang/OTP'
  1. Erlang/OTP
  2. ERL-1457

Export type calendar:daynum/0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: OTP-23.0, OTP-24.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Actual behavior:

      type calendar:daynum/0 is documented but not exported: https://erlang.org/doc/man/calendar.html.

      Expected behavior:

      calendar:daynum/0 is exported.

      The type is non-opaque and has a straightforward definition, so it seems harmless and convenient to export it.

      Note

      The type is defined in lib/stdlib/src/calendar.erl as:

      -type daynum() :: 1..7.

        Attachments

          Activity

            People

            Assignee:
            rickard Rickard Green
            Reporter:
            mheiber mheiber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: