diff --git a/pkg/analyzer/lib/src/diagnostic/diagnostic.g.dart b/pkg/analyzer/lib/src/diagnostic/diagnostic.g.dart index d70cad4222c..7e11d87415d 100644 --- a/pkg/analyzer/lib/src/diagnostic/diagnostic.g.dart +++ b/pkg/analyzer/lib/src/diagnostic/diagnostic.g.dart @@ -3259,10 +3259,12 @@ deferredAfterPrefix = DiagnosticWithoutArgumentsImpl( const DiagnosticWithoutArguments deferredImportOfExtension = DiagnosticWithoutArgumentsImpl( name: 'deferred_import_of_extension', - problemMessage: "Imports of deferred libraries must hide all extensions.", + problemMessage: + "Deferred library imports must hide all extension declarations.", correctionMessage: "Try adding either a show combinator listing the names you need to " - "reference or a hide combinator listing all of the extensions.", + "reference or a hide combinator listing all of the extension " + "declarations.", hasPublishedDocs: true, type: DiagnosticType.COMPILE_TIME_ERROR, uniqueName: 'deferred_import_of_extension', diff --git a/pkg/analyzer/messages.yaml b/pkg/analyzer/messages.yaml index 2d9f5b9cef3..fa1e0893d6e 100644 --- a/pkg/analyzer/messages.yaml +++ b/pkg/analyzer/messages.yaml @@ -4527,8 +4527,8 @@ CompileTimeErrorCode: deferredImportOfExtension: type: compileTimeError parameters: none - problemMessage: Imports of deferred libraries must hide all extensions. - correctionMessage: Try adding either a show combinator listing the names you need to reference or a hide combinator listing all of the extensions. + problemMessage: Deferred library imports must hide all extension declarations. + correctionMessage: Try adding either a show combinator listing the names you need to reference or a hide combinator listing all of the extension declarations. hasPublishedDocs: true documentation: |- #### Description