Should automatically add Coconut line numbers to Python line numbers in --mypy output.
Contributor guide
Tech stack
python
Domain
toolingdeveloper experiencebuild system
Issue type
feature
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
3
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
half day
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
clear
Prerequisites
PythonCoconut syntax basics
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
40
Research direction
Investigate how Coconut currently outputs MyPy results and trace the line number mapping. Look at files like `coconut/compiler.py` or `coconut/mypy.py` to understand the existing output formatting. The goal is to prepend the original Coconut line number to the Python line number in the MyPy error messages. Check the comments in issue #332 for any previous attempts or discussions. Implement a mapping that translates the compiled Python line numbers back to the source Coconut line numbers.