Fpt error on final keyword

I am getting an error from fpt for any derived types with a final subroutine:

------------------------------------------------------------------------------------------------------------------------------------
!!! ERROR !!!    Number 1891  Severity 2 (Worst 1)   Count    3    Line    49
File: src/IO/deck.f90
        final :: deallocate_deck
 ^
     Unable to determine class of statement.
------------------------------------------------------------------------------------------------------------------------------------

Is this a known limitation of fpt? cc: @Jcollins

With apologies, it is now. At the moment I am sorting out submodules and finalisation is next on the list.
John

John.collins@simconglobal.com

1 Like

Thanks, good to know. I was worried I was holding it wrong.

1 Like