www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10202] New: core.time durations fail property enforcement

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10202

           Summary: core.time durations fail property enforcement
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nobody puremagic.com
        ReportedBy: code dawg.eu


--- Comment #0 from Martin Nowak <code dawg.eu> 2013-05-29 09:01:50 PDT ---
cat > bug.d << CODE
import core.time;

auto val = 1.msecs;
CODE

dmd -c -property bug

----

This fails with not a property 1.msecs.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 29 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10202


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-05-30
14:25:52 PDT ---
I guess we could make it a property, but didn't we come to a conclusion that
the -property switch will be removed soon? I'm asking, can't be sure.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 30 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10202



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-05-30
14:35:15 PDT ---
(In reply to comment #1)
 I guess we could make it a property, but didn't we come to a conclusion that
 the -property switch will be removed soon? I'm asking, can't be sure.
Here we go: http://d.puremagic.com/issues/show_bug.cgi?id=10143 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 30 2013