Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318512 - Incorrect Outline in a module with a INTERFACE block
Summary: Incorrect Outline in a module with a INTERFACE block
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Editor & Outline View (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh All
: P3 normal (vote)
Target Milestone: 6.0.7   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 319808 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-30 14:44 EDT by Maksym CLA
Modified: 2011-05-14 06:48 EDT (History)
2 users (show)

See Also:


Attachments
Test F90 file for the bug (2.38 KB, text/plain)
2010-06-30 14:45 EDT, Maksym CLA
no flags Details
The screenshot of the Outline view with the bug (36.08 KB, image/png)
2010-06-30 14:47 EDT, Maksym CLA
no flags Details
Patch (1.19 KB, patch)
2011-03-17 09:34 EDT, Jeffrey Overbey CLA
g.watson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maksym CLA 2010-06-30 14:44:14 EDT
Build Identifier: I20100608-0911

If a module contains an INTERFACE block, all functions belonging to this interface are shown in Outline as children of each other in a degenerated linear tree fashion. The functions in the module not belonging to the interface are shown as children of the last interface function in the tree, see attached.

Reproducible: Always

Steps to Reproduce:
1. Open Outline for the attached file
2. You should see something similar to the screen shot
Comment 1 Maksym CLA 2010-06-30 14:45:49 EDT
Created attachment 173141 [details]
Test F90 file for the bug
Comment 2 Maksym CLA 2010-06-30 14:47:26 EDT
Created attachment 173142 [details]
The screenshot of the Outline view with the bug
Comment 3 Jeffrey Overbey CLA 2010-07-20 15:39:26 EDT
*** Bug 319808 has been marked as a duplicate of this bug. ***
Comment 4 Jeffrey Overbey CLA 2011-03-17 09:34:51 EDT
Created attachment 191415 [details]
Patch
Comment 5 Jeffrey Overbey CLA 2011-03-17 09:36:38 EDT
Thanks again for the bug report.  The fix for this will appear in Photran 6.0.7 and Photran 7.0.

Patch committed to ptp_4_0 and HEAD.
Comment 6 Maksym CLA 2011-03-17 09:46:53 EDT
Thanks for the fix!