Bug 82211

Summary: Ada Class tree view does not link correctly to methods
Product: [Applications] kdevelop Reporter: Dave Rigby <dave>
Component: Language Support: AdaAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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