Thread overview
[Issue 6070] New: CTFE UFCS forward reference error
May 28, 2011
Andrej Mitrovic
Apr 25, 2013
Kenji Hara
Apr 25, 2013
Kenji Hara
May 28, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6070

           Summary: CTFE UFCS forward reference error
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: andrej.mitrovich@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-05-28 15:12:33 PDT ---
enum test = ["test"].foo();
string foo(string[] s) { return ""; }

void main() { }

test.d(1): Error: function test.foo (string[] s) is not callable using argument
types (string[])
test.d(1): Error: forward reference to type string[]
test.d(1): Error: cannot implicitly convert expression (["test"]) of type
string[] to string[]

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 25, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6070


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
           Platform|Other                       |All
         OS/Version|Windows                     |All


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-24 21:03:07 PDT ---
https://github.com/D-Programming-Language/dmd/pull/1931

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 25, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6070



--- Comment #2 from github-bugzilla@puremagic.com 2013-04-25 00:34:50 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/699de273aa53ef07f4660a2c9ae3fa026aae5252 fix Issue 6070 - CTFE UFCS forward reference error

https://github.com/D-Programming-Language/dmd/commit/9ff9c1374542d4e1a662056569b3c14224cd32ba Merge pull request #1931 from 9rnsr/fix6070

Issue 6070 - CTFE UFCS forward reference error

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 25, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6070


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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