Skip to content

Commit e2108a8

Browse files
committed
[Flang] Fix grammar in pointer assignment error message
1 parent cad5328 commit e2108a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Semantics/pointer-assignment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ bool PointerAssignmentChecker::Check(const evaluate::FunctionRef<T> &f) {
281281
" function '%s' that is a procedure pointer"_err_en_US;
282282
} else if (!funcResult->attrs.test(FunctionResult::Attr::Pointer)) {
283283
msg = "%s is associated with the result of a reference to function '%s'"
284-
" that is a not a pointer"_err_en_US;
284+
" that is not a pointer"_err_en_US;
285285
} else if (isContiguous_ &&
286286
!funcResult->attrs.test(FunctionResult::Attr::Contiguous)) {
287287
auto restorer{common::ScopedSet(lhs_, symbol)};

0 commit comments

Comments
 (0)