Book a Demo

Author Topic: Delphi Generics and Anonymous methods not importing into EA  (Read 5842 times)

Bill Egge

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Delphi Generics and Anonymous methods not importing into EA
« on: December 07, 2016, 01:12:41 pm »
I tried to import a large amount of Delphi source code and EA failed to import any units that contained generics or anonymous methods.

Is there anything I can do to import my source code, or am I just out of luck since generics do not seem to have a place in UML?


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Delphi Generics and Anonymous methods not importing into EA
« Reply #1 on: December 07, 2016, 01:46:47 pm »
Delphi generics aren't that different from C# or Java generics, or even C++ templates. All of which map to templates in UML.

If you're out of luck it's because we haven't been able to find a specification or decent examples for Delphi generics. It ends up meaning that we can't be confident in any solution.

From memory, support has an MDG technology file that extends EA to support the examples of generics that we have seen. It's just not a part of EA itself because of the problems described above.

Unfortunately, I don't recall anything about anonymous methods.

Markus S

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile