- 
    
Sub-task
 - 
    Resolution: Done
 - 
    
P2: Important
 - 
    None
 
Consider the following code:
enum Codes { kCode1, kCode2 }; template<Codes Code> class Coder { int code() const { return Code; } }; Coder<kCode1> k;
The above code compiles OK. But the definition of k causes the editor to hilite the line as error with message "kCode1 is not a type name" while the template calls for a non-typename parameter.