Skip to content

poor "duplicate case" diagnostic with enums #9615

@lattner

Description

@lattner
Bugzilla Link 9243
Resolution FIXED
Resolved on May 16, 2012 00:33
Version unspecified
OS All
CC @DougGregor

Extended Description

I got this today:

CGDecl.cpp:85:8: error: duplicate case value '6'
case Decl::Label: // label x;
^
CGDecl.cpp:73:8: note: previous case defined here
case Decl::Label:
^

It should say "duplicate case value 'Decl::Label'"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions