Skip to content

Commit

Permalink
fix: check for proper patterns for persisted module attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Sep 14, 2024
1 parent 769c058 commit 8788544
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/elixir_sense/providers/plugins/module_store.ex
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ defmodule ElixirSense.Providers.Plugins.ModuleStore do
ElixirSense.Plugin in behaviours or ElixirLS.LanguageServer.Plugin in behaviours or
ElixirSense.Providers.Plugin in behaviours

{:is_elixir_sense_plugin, true} ->
true
{:is_elixir_sense_plugin, value} ->
true in List.wrap(value)

{:is_elixir_ls_plugin, true} ->
true
true in List.wrap(value)

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.12.x | Erlang/OTP 22.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.13.x | Erlang/OTP 22.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.13.x | Erlang/OTP 22.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.13.x | Erlang/OTP 24.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.13.x | Erlang/OTP 24.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.12.x | Erlang/OTP 24.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.13.x | Erlang/OTP 25.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.13.x | Erlang/OTP 25.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.13.x | Erlang/OTP 23.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.13.x | Erlang/OTP 23.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.12.x | Erlang/OTP 23.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.14.x | Erlang/OTP 25.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.14.x | Erlang/OTP 25.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.12.x | Erlang/OTP 22.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.14.x | Erlang/OTP 23.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.14.x | Erlang/OTP 23.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.14.x | Erlang/OTP 24.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.14.x | Erlang/OTP 24.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.12.x | Erlang/OTP 24.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.12.x | Erlang/OTP 23.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.14.x | Erlang/OTP 24.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.14.x | Erlang/OTP 24.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.13.x | Erlang/OTP 22.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.13.x | Erlang/OTP 22.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.14.x | Erlang/OTP 25.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.14.x | Erlang/OTP 25.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.13.x | Erlang/OTP 24.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.13.x | Erlang/OTP 24.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.13.x | Erlang/OTP 25.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.13.x | Erlang/OTP 25.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.13.x | Erlang/OTP 23.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.13.x | Erlang/OTP 23.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.14.x | Erlang/OTP 26.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test windows (Elixir 1.14.x | Erlang/OTP 26.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.14.x | Erlang/OTP 26.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.14.x | Erlang/OTP 26.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

Check warning on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.14.x | Erlang/OTP 23.x)

variable "value" does not exist and is being expanded to "value()", please use parentheses to remove the ambiguity or change the variable name

Check failure on line 61 in lib/elixir_sense/providers/plugins/module_store.ex

View workflow job for this annotation

GitHub Actions / mix test (Elixir 1.14.x | Erlang/OTP 23.x)

** (CompileError) lib/elixir_sense/providers/plugins/module_store.ex:61: undefined function value/0 (expected ElixirSense.Providers.Plugins.ModuleStore to define such a function or for it to be imported, but none are available)

_ ->
false
Expand Down

0 comments on commit 8788544

Please sign in to comment.