https://issues.dlang.org/show_bug.cgi?id=15501

Jonathan M Davis <issues.dl...@jmdavisprog.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |issues.dl...@jmdavisprog.co
                   |                            |m
           Hardware|x86                         |All
            Summary|bad error message: Error:   |Missing parens for template
                   |no property 'nsecs' for     |argument in error message:
                   |type                        |Error: no property 'nsecs'
                   |'MonoTimeImpl!cast(ClockTyp |for type
                   |e)0'                        |'MonoTimeImpl!cast(ClockTyp
                   |                            |e)0'
                 OS|Mac OS X                    |All
           Severity|regression                  |minor

--- Comment #2 from Jonathan M Davis <issues.dl...@jmdavisprog.com> ---
Previously, it printed MonoTime instead of MonoTimeImpl!cast(ClockType)0,
because MonoTime wasn't previously templated, whereas is now it's an alias to
MonoTimeImpl!(ClockType.normal).

The bug here is entirely in how dmd prints out the template argument in the
error message.

--

Reply via email to