[Improvement]: Confusing error message when collect sum
is used with non sequence reference
#42035
Labels
needTriage
The issue has to be inspected and labeled manually
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Improvement
userCategory/Compilation
Description
Above code gives
undefined function 'sum'
error.Describe your problem(s)
This error is confusing, since
sum
function is available and works if I putcode
insum
.Describe your solution(s)
It should give something like
non-sequence reference not not supported in collect clause
error.The text was updated successfully, but these errors were encountered: