Some properties in generated code have a layer of indirection due to their use of ReadonlyAttribute and ReadWriteAttribute. There's little value in keeping these static subscripts around and introducing the indirection. Additionally, it makes makes some issues on property code hard to debug when attempting to change union types generation logic in my investigation of https://github.com/swiftwasm/WebAPIKit/issues/43.
Some properties in generated code have a layer of indirection due to their use of
ReadonlyAttribute
andReadWriteAttribute
. There's little value in keeping these static subscripts around and introducing the indirection. Additionally, it makes makes some issues on property code hard to debug when attempting to change union types generation logic in my investigation of https://github.com/swiftwasm/WebAPIKit/issues/43.