E204 Self Use of Traits
[Previous]  [Next] 
|
User Manual [Previous]  [Next] E204 Self Use of TraitsUmple semantic error related to self use of traitsIn Umple, traits cannot be used in an explicit or implicit cyclic way. It means that a trait cannot use itself and it also cannot be used in a cyclic use. This error happens when a trait extends itself. Example// In this example, there is an explicit // use of a trait inside of itself. class A{ isA T; } trait T{ isA T; } Load the above code into UmpleOnline |