Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pin operator assigned wrong type in metadata builder #223

Closed
lukaszsamson opened this issue Jun 3, 2023 · 1 comment · Fixed by #237
Closed

pin operator assigned wrong type in metadata builder #223

lukaszsamson opened this issue Jun 3, 2023 · 1 comment · Fixed by #237

Comments

@lukaszsamson
Copy link
Collaborator

    defmodule MyModule do
      def my_fun(a, b) do
        case a do
          ^b -> b
          %{b: ^b} = a -> b
        end
      end
    end

type: {:map, [b: {:local_call, :^, [variable: :b]}], nil}

@Goose97
Copy link
Contributor

Goose97 commented Jul 13, 2023

We went from this

{:map, [b: {:local_call, :^, [variable: :b]}], nil}

to this

{:map, [b: [variable: :b]], nil}

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 a pull request may close this issue.

2 participants