[Issue 12166] Template Argument Pattern Matching Fails for Struct With Multiple Nested Template Arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 19 23:18:40 PST 2014


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



--- Comment #2 from monkeyworks12 at hotmail.com 2014-02-19 23:18:39 PST ---
(In reply to comment #1)
> The test case lacks some symbols:
> 
> test.d(7): Error: undefined identifier Three
> test.d(7): Error: undefined identifier Two
> test.d(7): Error: undefined identifier Four
> test.d(7): Error: undefined identifier One

Sorry, add:

alias One = Succ!Zero;
alias Two = Succ!One;
alias Three = Succ!Two;
alias Four = Succ!Three;

-- 
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