guillermomuntaner / Burritos

A collection of Swift Property Wrappers (formerly "Property Delegates")
MIT License
1.33k stars 43 forks source link

@Lazy does not work with self #24

Open davidbjames opened 2 years ago

davidbjames commented 2 years ago

One of the main reasons I use lazy is when I need access to self, lazy allows me to defer creation of the property to access-time (i.e. when self is available).

Is there a way to make @Lazy support self?