When I checkout to da065ae and run suggestion on bitstring, I get:
iex(1) > ElixirSense.suggestions("<<x::in", 1, 8) |> Enum.filter(& &1.type == :bitstring_option)
[%{name: "integer", type: :bitstring_option}]
However, the same on later commit from master does not return it:
iex(1) > ElixirSense.suggestions("<<x::in", 1, 8) |> Enum.filter(& &1.type == :bitstring_option)
[]
Possibly related, but not sure if bug or just change in behaviour:
Old:
iex(2) > ElixirSense.suggestions("<<x::ut", 1, 8) |> Enum.filter(& &1.type == :bitstring_option)
[
%{name: "utf8", type: :bitstring_option},
%{name: "utf16", type: :bitstring_option},
%{name: "utf32", type: :bitstring_option}
]
New:
iex(2) > ElixirSense.suggestions("<<x::ut", 1, 8) |> Enum.filter(& &1.type == :bitstring_option)
[
%{arity: 1, name: "unit", type: :bitstring_option},
%{name: "utf8", type: :bitstring_option},
%{name: "utf16", type: :bitstring_option},
%{name: "utf32", type: :bitstring_option}
]
(additional entry for "unit")
This was found while updating ElixirSense in Expert.
When I checkout to da065ae and run suggestion on bitstring, I get:
However, the same on later commit from master does not return it:
Possibly related, but not sure if bug or just change in behaviour:
Old:
New:
(additional entry for "unit")
This was found while updating ElixirSense in Expert.