microsoft / microsoft/Power-Fx

Improve error message for the use of the chaining operator in a non-behavior property

Open
#392 0 comments 0 reactions 1 assignee View on GitHub

@anderson-joyle is already working on this.

Since Aug 11, 2022.

good first issue
Dominant language
C#
Stars
3.4k
Forks
358
Avg merge
10h 34m
Merged PRs (30d)
3

Description

The chaining operator is only allowed in a behavior property. If used in a data property (parserflags doesn't contain EnableExpressionChaining), the error message isn't particularly helpful. Consider detecting this in the parser and adding a specific error message with better guidance.

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.