On Friday, 15 January 2021 at 19:25:38 UTC, Per Nordlöw wrote:
On Friday, 15 January 2021 at 19:18:09 UTC, Basile B. wrote:
- DotExpression aliases (they have been proposed to DMD this summer when I worked "under cover" as Nils.)

Can you give examples of what a DotExpression alias is?

They allow to pull heavily nested members, similarly as getters are sometime used and are supposed to make object composition easier. This [1] is the test file used to develop the feature.

[1] https://gitlab.com/styx-lang/styx/-/raw/51611f2d5c023c0edfe97968b543660ae2e89c26/tests/backend/dotexp_alias.sx

Reply via email to