Error in the generation of interfaces
Original Reporter info from Mantis: henrique @henriquewerlang
-
Reporter name: henrique
Original Reporter info from Mantis: henrique @henriquewerlang
- Reporter name: henrique
Description:
I couldn't make in a separate project the error that is occurring here.
But the compiler is generating a delayed startup of my interfaces.
With this, I cannot seek the information of RTTI of my interfaces, because they were not started as expected.
I'll send you an excerpt from the generated JS source to see if you can help me solve the problem.
I changed the name of the unit and types in the example I'm sending.
Additional information:
rtl.createInterface(this,"IGenericInterface$G5","{6972CBB0-53CD-442A-92CC-5681E6719DD2}",["Func1","Proc1","Proc2"],pas.System.IInvokable,function () {
this.$initSpec = function () {
var $r = this.$rtti;
$r.addMethod("Func1",1,null,pas.System.$rtti["TArray<Unit.MyObject>"]);
$r.addMethod("Proc1",0,[["Dados",pas.Entidades.$rtti["MyObject"]]]);
$r.addMethod("Proc2",0,[["Dados",pas.Entidades.$rtti["MyObject"]]]);
};
},"IMyInterface<Unit.MyObject>");
Mantis conversion info:
- Mantis ID: 38283
- OS: Windows
- OS Build: 10
- Build: trunk
- Platform: Pas2Js
- Fixed in revision: 47919.