Skip to content

Select expression breaks if you have dot character on the second line of any branch #342

Description

@slavafomin

Hello!

Consider the following example:

shared-photos =
  {$photoCount ->
    *[one]
      .
  }
  "

https://projectfluent.org/play/?id=fcbc0ff1daf506a0e6943ab9658b1340

This causes a syntax error. However, if you would replace dot character with any other one, it's working OK.

These also causes errors:

shared-photos =
  "
  {$photoCount ->
    *[one]
      A
      .
  }
  "
shared-photos =
  "
  {$photoCount ->
    *[one]
      .A
  }
  "

It looks like first character of the line can't be a dot. Why is that?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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