Bug 255907

Summary: Generator doesn't recognize implementations of classes in namespaces that have forward declarations
Product: [Developer tools] bindings Reporter: Chris Burel <chrisburel>
Component: generalAssignee: kde-bindings
Status: CONFIRMED ---    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Chris Burel 2010-11-02 19:51:04 UTC
Version:           unspecified (using Devel) 
OS:                Linux

The generator can parse the following code:

namespace Geometry {
    class CRectangle;
class CRectangle {
    int width, height;
  public:
    CRectangle (int,int);
    int area () {return (width*height);}
};
}

But fails to correctly identify the Geometry::CRectangle class in the following code:
namespace Geometry {
    class CRectangle;
}
class Geometry::CRectangle {
    int width, height;
  public:
    CRectangle (int,int);
    int area () {return (width*height);}
};


Reproducible: Always
Comment 1 Justin Zobel 2021-03-09 05:24:40 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.