major
minor
defect
major
minor
#26382
Error messages "Duplicate tag name..." when starting an application in the IDE from a TL-Studio
#26405
TTypeRewriter logs warning "Unable to resolve items by external reference" also unnecessarily
#26431
Changed superclass relationship leads to changed attribute list in the form editor only after a restart
defect
If a TLModule does not contain a singleton and wrappers are generated for it, this can result in "defective" wrappers.
The cause is that, as of #26398, every type now automatically extends `tl.model:TLObject`. As a result, the generated wrappers for `TLClass`es in which no generalization is specified no longer extend `tl:Wrapper`, but only `tl:TLObject`.
The generated code expects methods such as Wrapper#getValue(...), Wrapper#setValue(...), and Wrapper#getName(), which are defined in tl:Wrapper.
Solution
A similar exception is made for `tl.model:TLObject ` as for `tl.element:StructuredElement`, so that the implementation class of `tl.model:TLObject ` (namely `tl:TLObject`) is not used.
Test
- Generate wrappers for the DemoPlain module.
- Expectation: The generated wrappers should have no compile errors.