[Issue 19408] nothrow inference fails (template + postblit)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 17 14:01:28 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19408
Stanislav Blinov <stanislav.blinov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |regression
--- Comment #1 from Stanislav Blinov <stanislav.blinov at gmail.com> ---
Looks like this one is a bit of a roller-coaster:
--- 8< ---
Up to 2.062 : Failure with output: onlineapp.d(15): Error: static assert
(!true) is false
2.063 : Failure with output:
-----
onlineapp.d(29): Error: sneak.get is not nothrow
onlineapp.d(28): Error: delegate onlineapp.main.__lambda3 '__lambda3' is
nothrow yet may throw
-----
2.064 to 2.066.0: Failure with output:
-----
onlineapp.d(29): Error: 'onlineapp.Infidel!(S).Infidel.get' is not nothrow
onlineapp.d(28): Error: delegate 'onlineapp.main.__lambda4' is nothrow yet may
throw
-----
2.067.1 to 2.070.2: Failure with output: onlineapp.d(18): Error: static assert
(is(typeof(__error))) is false
2.071.2: Failure with output:
-----
onlineapp.d(18): Error: static assert (is(typeof([snip]))) is false
-----
Since 2.072.2: Success and no output
--- 8< ---
It seems like 2.063 to 2.066 exerted expected behavior.
--
More information about the Digitalmars-d-bugs
mailing list