Bug 255907 - Generator doesn't recognize implementations of classes in namespaces that have forward declarations
Summary: Generator doesn't recognize implementations of classes in namespaces that hav...
Status: CONFIRMED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-02 19:51 UTC by Chris Burel
Modified: 2021-03-09 05:24 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 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.