[Bug 82211] New: Ada Class tree view does not link correctly to methods

Dave Rigby dave at amunra.co.uk
Wed May 26 12:40:05 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=82211      
           Summary: Ada Class tree view does not link correctly to methods
           Product: kdevelop
           Version: unspecified
          Platform: RedHat RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel kdevelop org
        ReportedBy: dave amunra co uk


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.




More information about the KDevelop-devel mailing list