Skip to content

multiline YATL block starting with "=" failing #34

@zejdad

Description

@zejdad

This YATL block:

[[
="a"
="b"
]]

evaluates as "a" = "b" and fails on error "SyntaxError: expression cannot contain assignment, perhaps you meant "=="?"

These alternatives/workarounds work as expected:

[[
response.write("a")
response.write("b")
]]

[[="a"]]
[[="b"]]

[[
_=None
="a"
="b"
]]

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