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

List:       kdevelop-bugs
Subject:    [Bug 262182] New: Incorrectly reported bug in class constand
From:       Marci Kurzyna <m.kurzyna () crystalpoint ! pl>
Date:       2011-01-05 11:37:01
Message-ID: bug-262182-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Incorrectly reported bug in class constand definition
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: Language Support: PHP
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: m.kurzyna@crystalpoint.pl


Version:           unspecified (using KDE 4.5.4) 
OS:                Linux

class A {
  const C = null;
}

is a valid code but currently is reported (highlighted) as an error:

"Problem in Definition-Use Chain:
Only booleans, ints, floats and strings are allowed for class constants."

simply put: null was forgotten as valid value for class constant ;-)

Reproducible: Always

Steps to Reproduce:
define null class constant

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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