View Issue Details

IDProjectCategoryView StatusLast Update
0038764pas2jstranspilerpublic2021-04-16 16:41
Reporterhenrique Assigned ToMattias Gaertner  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformPas2JsOSWindows 
Summary0038764: Interface in a record
DescriptionI'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.
TagsNo tags attached.
Fixed in Revision
Attached Files

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-04-16 15:11 henrique New Issue
2021-04-16 16:41 Mattias Gaertner Assigned To => Mattias Gaertner
2021-04-16 16:41 Mattias Gaertner Status new => assigned