| Summary: | Parser wrongly marks any function called list() within a class | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Julio J. <julioelpoeta> |
| Component: | Language Support: PHP | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | pprkut |
| Priority: | NOR | ||
| Version First Reported In: | 5.2.1 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 5.3.0 | |
| Sentry Crash Report: | |||
This is fixed in master already :) |
If you have a class with a function named list(), the parser marks it as wrong with the following error message: Expected symbol "identifier" (current token: "list" ...) It is reproducible for me on a simple class like class A { public function list() { } } Changing the name makes the parser problem go away.