FHIR / FHIR/sushi

whitespace should not be required after =

Open
#693 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
188
Forks
64
Avg merge
8d 8h
Merged PRs (30d)
5

Description

```
* item[3].linkId ="Practitioner.qualification:certificate3-community"
```
gives the following error:
```
Sushi: error mismatched input '="Practitioner.qualification:certificate3-community"' expecting {'units', '='} (00:10.0780)
```

This can be fixed by adding a space after the equals.

Whitespace should not be required here.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported FSH input and inspect the parser entry point that handles assignment expressions, using the shown mismatched-input error as the guide. Done means the same input parses successfully without requiring whitespace after `=` while existing assignment syntax continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.