[Issue 1566] Nested template issue

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 5 07:38:05 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=1566



--- Comment #4 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2014-01-05 19:38:04 MSK ---
(In reply to comment #3)
> Explain please.

It's a bug iff there is a language documentation allowing such syntax or dmd
behaviour partially allowing it.

If I don't miss something multiple `!` is considered harmful as `A!B!C` may be
considered as `A` instantiated with `B!C` or `A!B` instantiated with `C`. Also
requirement to always have parantheses in such case may be added but IMO it
doesn't look like a worthwhile language complication as it isn't generally
needed.

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


More information about the Digitalmars-d-bugs mailing list