Bug 328355

Summary: @classmethod should create an alias for the class for the first parameter
Product: [Developer tools] kdev-python Reporter: Sven Brauch <mail>
Component: Language supportAssignee: Sven Brauch <mail>
Severity: normal    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sven Brauch 2013-12-03 07:40:10 UTC
Currently it creates an instance, so when you call it you get the wrong (i.e. usually none at all) type.

Reproducible: Always
Comment 1 Sven Brauch 2015-10-10 14:00:41 UTC
Git commit e33e2d557e568291f1231371ea177522d4f6b8cf by Sven Brauch.
Committed on 10/10/2015 at 14:00.
Pushed by brauch into branch 'master'.

correctly set type of first argument for @classmethod s

M  +16   -4    duchain/declarationbuilder.cpp
M  +7    -0    duchain/tests/pyduchaintest.cpp