[Issue 7463] New: Duplicated error message with bad template value parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 8 06:49:19 PST 2012


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

           Summary: Duplicated error message with bad template value
                    parameter
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: clugdbug at yahoo.com.au


--- Comment #0 from Don <clugdbug at yahoo.com.au> 2012-02-08 06:49:18 PST ---
template foo(Undefined x) {}

gives duplicate errors.
Caused by TemplateValueParameter::semantic() in template.c

(The simple solution of leaving that function if sparam->type == Type::terror
doesn't quite work because it causes failures in xtest46 for bug 6295).

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