In a project that's using language version 3.13, if the use_primary_constructors lint is enabled, the lint fires for a class like this:
(Which is admittedly kind of silly, since there's no value to be added by converting to primary constructor syntax when there's no constructor present).
If you bring up the context menu and select "Convert the default constructor to a primary constructor", the code is changed to:
This is incorrect. It should be:
Not sure how high of a priority this is, because we (currently) don't have plans to heavily advertise this lint.
In a project that's using language version 3.13, if the
use_primary_constructorslint is enabled, the lint fires for a class like this:(Which is admittedly kind of silly, since there's no value to be added by converting to primary constructor syntax when there's no constructor present).
If you bring up the context menu and select "Convert the default constructor to a primary constructor", the code is changed to:
This is incorrect. It should be:
Not sure how high of a priority this is, because we (currently) don't have plans to heavily advertise this lint.