Skip to content

Allow implicit none to appear before use statements #239

Open
@Beliavsky

Description

@Beliavsky

Currently implicit none must appear after use statements in a module or main program. Could this restriction be removed? As long as Fortran has implicit typing, implicit none should appear at the beginning of a main program or module. It would convenient if you could just put it on the second line of source files and look for it there, instead of looking for it under any number of use statements.

I would not call this a big improvement, but unless it is difficult for compiler writers to implement, it may be worth doing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Clause 8Standard Clause 8: Attribute declarations and specifications

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions