Skip to content

Fix 1.20.0 warnings#1146

Merged
kidq330 merged 16 commits into
masterfrom
kidq330/fix_1.20_warnings
Jun 22, 2026
Merged

Fix 1.20.0 warnings#1146
kidq330 merged 16 commits into
masterfrom
kidq330/fix_1.20_warnings

Conversation

@kidq330

@kidq330 kidq330 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@kidq330
kidq330 requested a review from mat-hek as a code owner June 10, 2026 14:14
@kidq330 kidq330 added the no-changelog This label has to be added if changes from the PR are not meant to be placed in the CHANGELOG.md label Jun 10, 2026
@kidq330
kidq330 requested a review from FelonEkonom June 10, 2026 14:44
Message.send(state.parent_pid, :child_pad_removed, [state.name, pad_ref])
PadModel.delete_data!(state, pad_ref)
else
state

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
state
# This is to handle the case when a bin pad is removed and then the bin removes its child linked to this pad
state

defmodule Vertex do
@moduledoc false
require Membrane.Pad, as: Pad
alias Membrane.Pad, as: Pad

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Applies to all alias A.B.C, as: C cases

Suggested change
alias Membrane.Pad, as: Pad
alias Membrane.Pad

Comment thread test/membrane/telemetry_test.exs Outdated

setup do
if Telemetry.legacy?() do
if Telemetry.legacy?() |> identity() do

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
if Telemetry.legacy?() |> identity() do
if Telemetry.legacy?() |> Function.identity() do

Co-authored-by: Mateusz Front <mateusz.front@swmansion.com>
@kidq330 kidq330 added this to Smackore Jun 11, 2026
@kidq330 kidq330 moved this to In Progress in Smackore Jun 11, 2026
@kidq330 kidq330 self-assigned this Jun 11, 2026
@kidq330 kidq330 moved this from In Progress to In Review in Smackore Jun 15, 2026
Comment thread lib/membrane/core/component.ex
@kidq330
kidq330 requested a review from mat-hek June 22, 2026 08:36
@kidq330
kidq330 merged commit 016ca6e into master Jun 22, 2026
8 checks passed
@kidq330
kidq330 deleted the kidq330/fix_1.20_warnings branch June 22, 2026 12:14
@github-project-automation github-project-automation Bot moved this from In Review to Done in Smackore Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog This label has to be added if changes from the PR are not meant to be placed in the CHANGELOG.md

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants