Closed psteinfeld closed 4 years ago
Could this constraint be enforced in
check-declarations.cc
rather than in name resolution? If so, that's probably a better place for it.
Quite possibly. I'll take a look.
Could this constraint be enforced in
check-declarations.cc
rather than in name resolution? If so, that's probably a better place for it.Quite possibly. I'll take a look.
As suggested, I've moved the check to check-declarations.cpp.
@klausler, can you please take another look?
An entity declared with the CLASS keyword shall be a dummy argument or have the ALLOCATABLE or POINTER attribute.