Summary: | Python classes with metaclass are not detected by the Symbols Viewer | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Alain Laporte <alain> |
Component: | application | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 21.12.3 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/kate/commit/cfcc864550448b277909e6340424e575852d88d9 | Version Fixed In: |
Description
Alain Laporte
2022-05-28 22:27:05 UTC
Git commit cfcc864550448b277909e6340424e575852d88d9 by Christoph Cullmann, on behalf of Alain Laporte. Committed on 06/06/2022 at 18:23. Pushed by cullmann into branch 'master'. More simpler regexp to match different class declarations Tested class declarations: class Philosopher: class AustralianPhilosopher(Philosopher, default_name="Bruce"): class Meta(): class MyClass(metaclass=Meta): class MySubclass(MyClass): Fix case where AustralianPhilosopher is not detected ISSUE: https://invent.kde.org/utilities/kate/-/issues/75 M +1 -1 addons/symbolviewer/python_parser.cpp https://invent.kde.org/utilities/kate/commit/cfcc864550448b277909e6340424e575852d88d9 |