#Why cant I do ?0..9? ++ ?a..?z

4 messages · Page 1 of 1 (latest)

supple blaze
#

I'd like to concatenate those two charlists, but plugin in VSCode turns it into ?0..(?9 ++ ?a..?z) and gives me this:

The call erlang:'++'
(57,
#{'struct' => 'Elixir.Range',
'first' => 97,
'last' => 122,
'step' => 1}) will never return since it differs in the 1st argument from the success typing arguments:
([any()],
any())ElixirLS Dialyzer

sudden timber
supple blaze
sudden timber
#

turn them to a list first