Hey guys


Hey guys,

Am I not able to define a record helper into implementation section of an unit? I want to hide a record helper from public but it seems not working as expected :( I am stuck on this exception -> [DCC Error] GoSeaHorse.Kelloggi.pas(117): E2506 Method of parameterized type declared in interface section must not use local symbol 'TInt32Helper' 

Thanks :D

Comments

  1. A limitation in the compiler. The record helper is not visible from another unit that uses the generic class.

    ReplyDelete
  2. Make it a nested type of the type you are using it in if you want to hide it.

    ReplyDelete
  3. Stefan Glienke Have you ever considered working at Embarcadero? It would be a great addition for all of their products :D Many thanks for help :D

    ReplyDelete

Post a Comment