This is an archive of the discontinued LLVM Phabricator instance.

[flang] Improve error message for attempted assignment to a procedure
ClosedPublic

Authored by klausler on Aug 18 2022, 11:26 AM.

Details

Summary

Emit a "Assignment to procedure 'foo' is not allowed" error message
for more cases of 'foo' than just declaraed subprograms, rather than
assuming that those additional cases were named constants.

Diff Detail

Event Timeline

klausler created this revision.Aug 18 2022, 11:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2022, 11:26 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 18 2022, 11:26 AM
PeteSteinfeld accepted this revision.Aug 18 2022, 2:07 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Aug 18 2022, 2:07 PM