Open
Description
Given this code:
@spec import(Plug.Conn.t(), map()) :: Plug.Conn.t()
def import(conn, attrs) do
# implementation here
end
The syntax highlighter treats the function name in @spec import
as an import
keyword.
Expects @spec import
to be treated as a part of the function spec. As in the screenshot above, the text should be in white rather than red.
Metadata
Metadata
Assignees
Labels
No labels