Community
Participate
Working Groups
Build Identifier: 20100617-1415 This bug was discovered in Photran 6.0.0.201006142322 Bug in Outline view - If you define several module procedures in single line inside an interface block Photran outline view confuses! It display the first name as a module procedure and the latters in a cascading form (inside the first)! If you even have another interface block again Photran mixed it up with the first interface! For example put the following code inside an empty Fortran source file (e.g. main.f90) and see the produced outline view by Photran! ________________________________________________ MODULE MDMATH implicit none type myType integer::m, n end type interface mfc module procedure prcm, prcn end interface mfc real(4) :: x, y interface mfc_correct module procedure prcmc module procedure prcnc end interface mfc_correct Integer(4), Parameter, Public :: m=100, n=250 Real(8), Parameter, Public :: pi=4.d0*atan(1.d0) END MODULE MDMATH __________________________________________________ If you change the first interface block as follows Photran will show the outline correctly __________________________________________________ interface mfc module procedure prcm module procedure prcn end interface mfc __________________________________________________ Reproducible: Always Steps to Reproduce: 1. Open a new Fortran Project 2. Create a new source file e.g. main.f90 3. Write a code containing an interface block with two or more module procedures declared in single line
I think this is a duplicate of bug 318512
OK, thanks. Feel free to add yourself as a CC on that bug if you want to follow its status. *** This bug has been marked as a duplicate of bug 318512 ***