October 06, 2023
https://issues.dlang.org/show_bug.cgi?id=24177

          Issue ID: 24177
           Summary: Array literal can implicitly convert to an expected
                    type
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody@puremagic.com
          Reporter: nick@geany.org

The spec should state that an array literal can implicitly convert each of its elements when there is an expected array type available. (This is much safer than casting the literal).

PR incoming.

--