integrated-application-development / integrated-application-development/pasfmt

Fix single-line comment indentation after multi-token values in expression

Open
#274 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
105
Forks
20
PR merge metrics
No merged PRs in 30d

Description

After expressions, single-line comments are formatted incorrectly.

Expected:
```delphi
A :=
B.C
//
+ D;

```

Actual
```delphi
A :=
B.C
//
+ D;

```

This issue must be related to the fact `B.C` is not a single token because the following is formatted correctly.
```delphi
A :=
B
//
+ D;
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.