Skip to content
This repository was archived by the owner on May 8, 2021. It is now read-only.
This repository was archived by the owner on May 8, 2021. It is now read-only.

2.1-beta1: Compiler: Keywords in variable names shoulden't be forbidden #6

@skruppy

Description

@skruppy

Reproduce

According to http://forums.invenzzia.org/index.php/topic,326.0.html , keywords in variable names should be allowed. Example templates which should compile without problems are:

<opt:if test="$new">
<foo name="$basic@lte" />
<foo name="$item.lte" />

Result

The examples above throw an exception while evaluating the expression during compile time. All those exception lead to problems related to keywords in variable names.

Expected

The examples above should compile without exceptions like in version 2.0.

Workaround

Rename your variables e.g. appending an "Item" ("$new" becomes "$newItem" and so on)

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