https://issues.dlang.org/show_bug.cgi?id=24063

          Issue ID: 24063
           Summary: Disallow overloads that make no sense
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

Functions can be overloaded based on attributes, linkage, and possibly other
details that cannot be distinguished by a caller and therefore always give you
an ambiguity error.

The spec should clarify that it cannot be done and such overloads should not
compile.

--

Reply via email to