- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wish I could delete the original post but I can't, so here's the answer: The constraint is indeed correct (C468).
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I'm exercising the new 13.0 compiler on some existing, 'working' code and it complains about this bit of code from the declaration of a derived type:
contains
procedure, nopass :: copy
generic :: assignment(=) => copy
The error message is "error #8420: If generic-spec is OPERATOR or ASSIGNMENT, each of its specific bindings must have a passed object dummy argument." Can someone point to the part of the standard where this constraint appears? I've looked in sections 4.5.5, 7.2.1.4, 12.4.3.4.3 and find no such constraint.
-Neil
Link Copied

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page