Skip to content

Automatically compute size for <<^var::binary>> #13089

@josevalim

Description

@josevalim

Elixir and Erlang/OTP versions

All

Operating system

All

Current behavior

Currently it fails to compile.

Expected behavior

It should automatically become <<^var::binary-size(byte_size(^var))>> (if the size is not given).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions