|
|
|
|
|
by pjc50
703 days ago
|
|
Yuck. The type itself should be a different type from instances of the type, and therefore that error should be "function not found". For the first one, constructors should generally do required init, although there are circumstances where that's very hard. Hence the builder pattern. |
|
Also, the type is different and ZLS will insert the hint if enabled.