Thread overview
[Issue 9063] New: static assert should resolve property function call
Nov 23, 2012
Kenji Hara
Nov 23, 2012
Kenji Hara
Dec 17, 2012
Kenji Hara
November 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9063

           Summary: static assert should resolve property function call
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: k.hara.pg@gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2012-11-22 19:50:11 PST ---
These code should work.

@property bool foo(){ return true; }
static assert(foo);  // should pass assertion

@property string bar() { return "msg"; }
static assert(false, bar);  // should print "msg"

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9063


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-11-22 20:07:21 PST ---
https://github.com/D-Programming-Language/dmd/pull/1309

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9063



--- Comment #2 from github-bugzilla@puremagic.com 2012-11-23 03:19:58 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/1ac1c9a09511f8e3068f8cc67ed74839803f6e24 fix Issue 9063 - static assert should resolve property function call

https://github.com/D-Programming-Language/dmd/commit/58112859e0903fc020fee37d5647189de8370654 Merge pull request #1309 from 9rnsr/fix9063

Issue 9063 - static assert should resolve property function call

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 17, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9063


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: -------