From 6d22f497770c0cf358e71b87ef28bb3f043f2190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Samson?= Date: Mon, 16 Jun 2025 23:40:41 +0200 Subject: [PATCH] Add @spec for get_param_options --- lib/elixir_sense/core/options.ex | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/elixir_sense/core/options.ex b/lib/elixir_sense/core/options.ex index c78b9dbd..5a0c5c33 100644 --- a/lib/elixir_sense/core/options.ex +++ b/lib/elixir_sense/core/options.ex @@ -70,6 +70,13 @@ defmodule ElixirSense.Core.Options do end end + @spec get_param_options( + module, + atom, + non_neg_integer, + ElixirSense.Core.State.Env.t(), + ElixirSense.Core.Metadata.t() + ) :: [atom | {atom, Macro.t()}] def get_param_options(module, function, arity, env, metadata) do behaviours = env.behaviours