http://d.puremagic.com/issues/show_bug.cgi?id=6861

           Summary: Implicitly convert expression.
                    const(immutable(char)[][string][string]) to
                    const(string[string][string])
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: d_l...@ku6.jp


--- Comment #0 from Takuya Kurosawa <d_l...@ku6.jp> 2011-10-28 09:19:25 PDT ---
Code
----
class Homu
{
    const
    const(string[string][string]) homuhomu()
    {
        return homuhomu_;
    }

private:
    string[string][string] homuhomu_;
}
----

Compile error(dmd 2.056)
----
Error: forward reference to type const(string)
Error: cannot implicitly convert expression (this.homuhomu_) of type
const(immutable(char)[][string][string]) to const(string[string][string])
----

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to