https://bugs.kde.org/show_bug.cgi?id=395305
Bug ID: 395305 Summary: Parser produces errors when keywords are used as function names Product: kdevelop Version: 5.2.3 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Language Support: PHP Assignee: kdevelop-bugs-n...@kde.org Reporter: mar...@harrisonland.co.uk Target Milestone: --- In the Laravel PHP framework, some classes[1] use function names that are also type keywords (e.g. public function string(...)). On these files, the parser errors, producing: Expected symbol "identifier" (current token: "string" ...) This causes other features of KDevelop to stop working, including use declarations which use the class, API autocompletion and so on. ----- [1] https://github.com/laravel/framework/blob/0200dc58ca805e86a366a5aaaa779870856b16f8/src/Illuminate/Database/Schema/Blueprint.php#L586 -- You are receiving this mail because: You are watching all bug changes.