refactor: Update multiple ctors warning with a space and grammar
Add a space before the word "using" and make spelling of constructor/ctor consistent Closes #3923
This commit is contained in:
parent
947bf11cb6
commit
eb2c15786e
|
@ -61,8 +61,8 @@ class ReflectionInfoVisitor extends RecursiveAstVisitor<ReflectionInfoModel> {
|
|||
if (numCtorsFound > 1) {
|
||||
var ctorName = ctor.name;
|
||||
if (ctorName != null) {
|
||||
logger.warning('Found ${numCtorsFound} ctors for class ${node.name},'
|
||||
'Using constructor ${ctorName}.');
|
||||
logger.warning('Found ${numCtorsFound} constructors for class '
|
||||
'${node.name}; using constructor ${ctorName}.');
|
||||
}
|
||||
}
|
||||
return ctor;
|
||||
|
|
Loading…
Reference in New Issue