posit-dev / posit-dev/air

`#line` directives should not be indented

Open
#425 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
446
Forks
32
Avg merge
16h 48m
Merged PRs (30d)
1

Description

These directives are used by the parser to map source references in generated files back to original files. They must be at column 0:

Unlike the C directive, @code{#line} must appear as the first five characters on a line.

https://github.com/r-devel/r-svn/commit/ead62cd1b9569b4c932df12fa0a49e407471a57c

Contributor guide

Open the contributing guide

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.

Research direction

The issue concerns #line directives in generated files and requires them to begin at column 0. Locate the parser or generator entry point that emits these directives, then verify its output against the stated source-mapping requirement.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, rust
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.