From eb2c15786e86abe5660e116808f4b1babd9492c4 Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Tue, 29 Sep 2015 10:34:47 -0700 Subject: [PATCH] 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 --- .../lib/src/transform/common/code/reflection_info_code.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules_dart/transform/lib/src/transform/common/code/reflection_info_code.dart b/modules_dart/transform/lib/src/transform/common/code/reflection_info_code.dart index f426906324..c63b218dd0 100644 --- a/modules_dart/transform/lib/src/transform/common/code/reflection_info_code.dart +++ b/modules_dart/transform/lib/src/transform/common/code/reflection_info_code.dart @@ -61,8 +61,8 @@ class ReflectionInfoVisitor extends RecursiveAstVisitor { 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;