[Issue 10008] Inconsistent inference of template and non-template function attributes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 29 10:10:58 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10008



--- Comment #2 from Maxim Fomin <maxim at maxim-fomin.ru> 2013-04-29 10:10:56 PDT ---
OK, this explains why function from templated struct is deduced to have all
attributes. But this tells nothing about another case. I understand that Z.foo
is not required to be @safe/pure/nothrow because it isn't marked as such, but
on the other hand S.foo() is also not marked and clearly there is contradiction
here.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list