intel / intel/dml-language-server

Discussion on indentation rules around '#if' during linting

Open
#139 5 comments 0 reactions 0 assignees View on GitHub
Linter question
Dominant language
Rust
Stars
9
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Lint gives incorrect warning for statements inside #if in case.

```
switch (foo) {
case 0:
#if (true) {
bar();
}
}
```

Will warn on the 'bar();' line

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.