list of dots

User Manual    [Previous]   [Next]   

E224 Multiple Inheritance Constraint

Umple semantic error related to putting multiple inheritance constraint on template parameters

If a multiple inheritance is applied as a constraint to a template parameter, it is detected and this error is raised. Umple does not support multiple inheritance.

Example

// In this example, there is an error
// because trait T puts multiple
// inheritance constraint on its
// template parameter TP.
trait T<TP isA C1&C2>{
  /*implementation*/
}
class C1{ 
  /*implementation*/
}
class C2{ 
  /*implementation*/
}



      

Load the above code into UmpleOnline