Skip to content

Commit

Permalink
rename a function
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBM committed Jul 23, 2024
1 parent 2ab01da commit f1e8be0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/EnumeratorMacroImpl/EnumeratorMacroType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ extension EnumeratorMacroType: MemberMacro {
context: context
)

guard cases.checkCommentsOnlyContainAllowedKeys(
guard cases.checkCommentsOnlyContainAllowedKeysOrDiagnose(
arguments: parsedArguments,
context: context
) else {
Expand Down
2 changes: 1 addition & 1 deletion Sources/EnumeratorMacroImpl/Types/ECases.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct ECases {
)
}

func checkCommentsOnlyContainAllowedKeys(
func checkCommentsOnlyContainAllowedKeysOrDiagnose(
arguments: Arguments,
context: some MacroExpansionContext
) -> Bool {
Expand Down

0 comments on commit f1e8be0

Please sign in to comment.