-
-
Notifications
You must be signed in to change notification settings - Fork 154
Crash on self-referential 'abstract' declaration #2982
Copy link
Copy link
Closed
Labels
Description
Hi!
I am using Emacs LSP with Phpactor installed with git+composer checked out at cb9a2b7
The following simple snippet results in Phpactor crashing:
abstract class Foo {
const TAG = self::TAG;
}(I tried to accomplish an abstract class property as described in this SO thread.)
The error message from LSP stderr is
PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 20480 bytes) in /home/sebastian/git/phpactor/lib/WorseReflection/Core/SourceCodeLocator/ChainSourceLocator.php on line 34
Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 20480 bytes) in /home/sebastian/git/phpactor/lib/WorseReflection/Core/SourceCodeLocator/ChainSourceLocator.php on line 34
I am new to the world of PHP and do not know what further info you might need to reproduce this. Let me know when you need more!
Reactions are currently unavailable