Sema: fix typo in diag about accepted access-levels on imports

This commit is contained in:
Alexis Laferrière
2024-02-27 10:29:34 -08:00
parent 8bb6846285
commit dec3ea2320
2 changed files with 2 additions and 2 deletions

View File

@@ -2455,7 +2455,7 @@ ERROR(spi_only_imports_not_enabled, none,
ERROR(access_level_on_import_unsupported, none, ERROR(access_level_on_import_unsupported, none,
"The access level %0 is unsupported on imports: " "The access level %0 is unsupported on imports: "
"only 'public', 'package', 'internal', 'fileprivate' and 'private' " "only 'public', 'package', 'internal', 'fileprivate' and 'private' "
"are unsupported", "are accepted",
(DeclAttribute)) (DeclAttribute))
ERROR(access_level_conflict_with_exported,none, ERROR(access_level_conflict_with_exported,none,
"'%0' is incompatible with %1; it can only be applied to public imports", "'%0' is incompatible with %1; it can only be applied to public imports",

View File

@@ -26,4 +26,4 @@ package import PackageLib // expected-warning {{package import of 'PackageLib' w
internal import InternalLib internal import InternalLib
fileprivate import FileprivateLib fileprivate import FileprivateLib
private import PrivateLib private import PrivateLib
open import OpenLib // expected-error {{The access level 'open' is unsupported on imports: only 'public', 'package', 'internal', 'fileprivate' and 'private' are unsupported}} open import OpenLib // expected-error {{The access level 'open' is unsupported on imports: only 'public', 'package', 'internal', 'fileprivate' and 'private' are accepted}}