hydro-sdk icon indicating copy to clipboard operation
hydro-sdk copied to clipboard

Typescript Classes Incorrectly Implement Interfaces With Property Accessors

Open chgibb opened this issue 2 years ago • 0 comments

A common pattern in Dart is to override implicit property accessors on fields in super types with explicit property accessors in child classes / to provide implicit property accessors on child classes when super types have explicit property accessors. Typescript translation units in SWID express explicit proper accessors by transforming them into methods. This causes SWID to produce broken classes in the presence of either of the above patterns.

chgibb avatar Jan 02 '22 20:01 chgibb