Bug 10202 – core.time durations fail property enforcement

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-29T09:01:50Z
Last change time
2018-06-24T07:47:29Z
Assigned to
No Owner
Creator
Martin Nowak

Comments

Comment #0 by code — 2013-05-29T09:01:50Z
cat > bug.d << CODE import core.time; auto val = 1.msecs; CODE dmd -c -property bug ---- This fails with not a property 1.msecs.
Comment #1 by andrej.mitrovich — 2013-05-30T14:25:52Z
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.
Comment #2 by andrej.mitrovich — 2013-05-30T14:35:15Z
(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
Comment #3 by slavo5150 — 2018-06-24T07:47:29Z