Skip to content

Using "blank" as a variable name #591

@fw42

Description

@fw42

Weird things happen. Saw something like this in production:

{% assign blank = "" %}
...
{% assign something = blank %}
...
{{ something }}

which renders "Liquid error: undefined method 'to_liquid' for :blank?:Symbol", which is kinda shitty.

Should have some better behaviour.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions