Bug 82211 - Ada Class tree view does not link correctly to methods
Summary: Ada Class tree view does not link correctly to methods
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: Ada (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-26 01:50 UTC by Dave Rigby
Modified: 2008-07-05 22:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Rigby 2004-05-26 01:50:28 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    RedHat RPMs
Compiler:          gcc 3.3.3 
OS:                Linux

When using the Class tree view in an Ada project, the tree view does not correctly 'link' to the methods listed. Although the Ada code appears to be parsed correctly and the methods for a package are displayed in the tree view, double-clicking on a method name does you to a seemingly random line in the (correct) source file.  

How To Reproduce:

1. Create a new Ada Project, and add an ada spec containing (for example) the following code :-


package Shape is

	type Object is tagged private;
		
	procedure Foo( this : in Object );

	function Bar( this : in Object ) return Integer;
	
private

	type Object is tagged 
		record
			X : Integer;
			Y : Integer;
		end record;
end Shape;


2. Now open up the CLas tree view, and double-click on either Foo or Bar - note that the highlighted line is _not_ the one the function/procedure is on.
Comment 1 Andreas Pakulat 2008-07-05 22:07:25 UTC
ada support is AFAIK unmaintained, so this is not going to be fixed in kdevelop3