Book a Demo

Author Topic: Roundtrip-Engineering Problem: Generics  (Read 3372 times)

SR_SXP

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • User of  EA 6.5.799
    • View Profile
Roundtrip-Engineering Problem: Generics
« on: December 14, 2006, 09:37:38 am »
Hi!

I came across a strange behavior when roundtrip engineering (C# .NET 2.0) with EA 6.5.799 (I didn't notice an entry concerning generics in the changelog for 6.5.800, so I didn't yet upgrade).

Maybe someone can help me with this issue. :)

Source code BEFORE reverse engineering:

Code: [Select]

public class A : IBaseA, IBaseB<A>
{
 ...
}


After importing the class to EA and then resynchronizing the code with my model, I get the following code generated:

Code: [Select]

public class A : IBaseA<A>, IBaseB<A>
{
 ...
}


Interface IBaseA however is no generic interface.
The compiler complains.
The code is corrupted...

Is there anything I can do?

Thanks in advance!
« Last Edit: December 14, 2006, 09:38:46 am by SR_SXP »

d_p_robinson

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Roundtrip-Engineering Problem: Generics
« Reply #1 on: March 27, 2007, 06:02:38 am »
It does the same in C++ - I've raised a fault report.
David Robinson