Dorian Scheidt
39d17efde7
feat: Generate static method using Self::assoc() syntax
...
This change improves the `generate_function` assist to support generating static methods/associated functions using the `Self::assoc()` syntax. Previously, one could generate a static method, but only when specifying the type name directly (like `Foo::assoc()`). After this change, `Self` is supported as well as the type name.
Fixes #13012
2022-08-16 15:37:24 -05:00
..
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-08-10 16:29:23 +08:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:06:15 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:06:15 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-08-06 20:12:21 +04:30
2022-07-20 15:02:08 +02:00
2022-08-06 20:12:21 +04:30
2022-07-28 19:28:56 +02:00
2022-07-20 15:06:15 +02:00
2022-07-20 15:02:08 +02:00
2022-08-06 20:12:21 +04:30
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-08-06 20:12:21 +04:30
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:06:15 +02:00
2022-08-02 14:37:12 -04:00
2022-07-20 15:06:15 +02:00
2022-08-16 15:37:24 -05:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-23 11:09:01 -04:00
2022-07-20 15:02:08 +02:00
2022-07-26 10:59:19 -05:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-08-06 20:12:21 +04:30
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:06:15 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:06:15 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-08-06 20:12:21 +04:30
2022-07-20 15:06:15 +02:00
2022-07-20 15:06:15 +02:00
2022-08-06 20:12:21 +04:30
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:06:15 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00
2022-07-20 15:02:08 +02:00