E112 Duplicate Constants in Interface
[Previous]  [Next] 
|
User Manual [Previous]  [Next] E112 Duplicate Constants in InterfaceUmple semantic error reported when an interface is given two or more constants with the same name.Constants in an attribute must have distinct names. The solution to this error is to rename or delete one of the constants. Example// The following example shows how to generate // this error. interface X { const A="dog"; const A="cat"; } Load the above code into UmpleOnline |