Skip to content

Nested string templates not highlighted correctly #173

Description

@pokrakam

A nested string template causes the rest of the code to be shown as string. Possibly also has other side effects.

Image

Code:

CLASS main DEFINITION CREATE PUBLIC.

  PUBLIC SECTION.
    METHODS run.
  PROTECTED SECTION.
  PRIVATE SECTION.

ENDCLASS.

CLASS main IMPLEMENTATION.

  METHOD run.
    DATA(foo) = `foo`.
    DATA(foo_up) = |x = { to_upper( |{ foo }| ) }|.
    WRITE / foo_up.
  ENDMETHOD.

ENDCLASS.

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