Re: [elixir-core:10216] [Proposal] Support steps in typespecs

2021-04-13 Thread José Valim
1..2 in typespecs does not mean a range %Range{first: 1, last: 2}, rather an integer from 1 to 2. On Tue, Apr 13, 2021 at 6:13 PM Felipe Stival wrote: > Shouldn't we support custom step types (like we do for first and last) > like in this diff >

Re: [elixir-core:10216] [Proposal] Support steps in typespecs

2021-04-13 Thread Felipe Stival
Shouldn't we support custom step types (like we do for first and last) like in this diff ? Em terça-feira, 13 de abril de 2021 às 18:17:35 UTC+3, José Valim escreveu: > Given Dialyzer does not natively support stepped