unique(itr) doesn't infer types for a generator #20105
Labels
collections
Data structures holding multiple items, e.g. sets
compiler:codegen
Generation of LLVM IR and native code
compiler:inference
Type inference
Unlike
Set
orcollect
,unique(itr)
doesn't infer types from the generator.It should return
Array{Int, 1}
.The text was updated successfully, but these errors were encountered: