Skip to content

Fixing compiler warnings and typo#1159

Merged
akoutmos merged 1 commit into
mainfrom
minor_cleanup
Jul 20, 2026
Merged

Fixing compiler warnings and typo#1159
akoutmos merged 1 commit into
mainfrom
minor_cleanup

Conversation

@akoutmos

Copy link
Copy Markdown
Contributor

No description provided.

@thbar thbar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

when op in [:first, :last, :sum, :min, :max, :product],
do: series.dtype

defp dtype_for_agg_operation(op, _) when op in [:all?, :any?], do: :boolean

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dead code, afaik.

Comment on lines -1080 to -1086
@impl true
def size(series) do
data = new(:size, [lazy_series!(series)], {:u, 32})

Backend.Series.new(data, {:u, 32})
end

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dead code as well.

end

for {op, arity} <- @all_expressions do
for {op, arity} <- @all_expressions -- @first_only_expressions do

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dead code too, because line 280 already defines the relevant code.

@akoutmos
akoutmos merged commit d8412e8 into main Jul 20, 2026
3 checks passed
@akoutmos
akoutmos deleted the minor_cleanup branch July 20, 2026 15:44
This was referenced Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants