You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an enum implements an interface, it is not included in the list of implementations for that interface like classes are.
This only applies to the enum as a whole. The list of implementations of a method in an interface does include enum methods.
To Reproduce
interfaceFoo
{
publicfunctiongetSomething(): string;
}
classFooClassimplementsFoo// This class is in the list of implementations of `Foo`
{
publicfunctiongetSomething(): string// This method is in the list of implementations of `Foo::getSomething()`
{
return'something';
}
}
enum FooEnumimplementsFoo// This enum is NOT in the list of implementations of `Foo`
{
publicfunctiongetSomething(): string// This method is in the list of implementations of `Foo::getSomething()`
{
return'something';
}
}
Expected behavior
Enums should be listed alongside classes that implement an interface.
Describe the bug
If an enum implements an interface, it is not included in the list of implementations for that interface like classes are.
This only applies to the enum as a whole. The list of implementations of a method in an interface does include enum methods.
To Reproduce
Expected behavior
Enums should be listed alongside classes that implement an interface.
Screenshots
N/A
Platform and version
Ubuntu 24.04.1LTS
Intelephense 1.12.6
Neovim LSP client
The text was updated successfully, but these errors were encountered: