[Issue 5116] spurious 'is used as a type' error after template lookup error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 24 00:34:53 PST 2012


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au
            Version|D2                          |D1 & D2
            Summary|Too many error messages     |spurious 'is used as a
                   |with failed template        |type' error after template
                   |constraint                  |lookup error


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2012-02-24 00:34:50 PST ---
Nothing to with templates. Same thing happens with:

struct Foo {}
class Bar(int n)
void main() {
    auto b = new Bar!Foo();
}

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