[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 305776] New: PHP: Closure in method causes method to be listed twice in Outline
From:       Andrew Udvare <audvare () gmail ! com>
Date:       2012-08-25 19:51:29
Message-ID: bug-305776-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=305776

            Bug ID: 305776
          Severity: normal
           Version: 4.3.1
          Priority: NOR
          Assignee: kdevelop-bugs@kdevelop.org
           Summary: PHP: Closure in method causes method to be listed
                    twice in Outline
    Classification: Unclassified
                OS: Linux
          Reporter: audvare@gmail.com
          Hardware: Gentoo Packages
            Status: UNCONFIRMED
         Component: Language Support: PHP
           Product: kdevelop

If a closure exists in a method, that method gets listed twice in the Outline.
What is interesting is that the second time it is listed, casing is respected.

Reproducible: Always

Steps to Reproduce:
1. Write code like the following in a PHP project:
<?php
class A {
  public function A() {
    return array_walk_recursive(array(), function () {});
  }
}
2. Look at the Outline view
Actual Results:  
Method gets listed twice. 

Expected Results:  
The closure within should not be listed at all.

KDE 4.9.0
KDevelop 4.3.1
KDevelop-PHP 1.3.1

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic