Summary: Cannot assign an object of type 'typeof(null)' to an
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-02-15 03:50:59 PST ---
Test case:

  void test7504()
    auto n = null;
    char[] k = n;  // even 'cast(char[])n' won't work.

Note that this goes against bug 3889, but [] doesn't work either because it is
of type 'void[]' (see bug 5416), although 'cast(char[])emptyArray' would work
in that case.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to