Interface in a record
Original Reporter info from Mantis: henrique @henriquewerlang
-
Reporter name: henrique
Original Reporter info from Mantis: henrique @henriquewerlang
- Reporter name: henrique
Description:
I'm having a problem when I try to put an interface variable within a record.
When I declare the record with the interface inside it, a build error occurs: "Error: Not supported: COM-interface as record member".
If I put the "{interfaces CORBA}" setting, the previous error stop occurring, but a following internal error occurs: "Fatal: [20190817110226]: Element=RTTI.[TInterfaceSection].TValue.From.T:TPasGenericTemplateType".
This is happening only in my full project, I could not make a smaller example with the error.
I opened this task to see if you can help me find the solution. Meanwhile I'm trying to make my test project give error as well.
Mantis conversion info:
- Mantis ID: 38764
- OS: Windows
- OS Build: 10
- Build: trunk
- Platform: Pas2Js