Macaulay2 / Macaulay2/M2

"line number not found in file stdio" when running "code"

Open
#4,356 4 comments 0 reactions 0 assignees Claimed by @pzinn View on GitHub
Core
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

After #4351, we have:

```m2
i1 : code(() -> return)
code(() -> return)

o1 = stdio:1:5-1:18: --source code:
code(() -> return)
stdio:2:4:(3):[1]: error: line number 1 not found in file stdio
```

Note that the two lines need to be entered together at the same prompt (e.g., copied and pasted) for this to fire.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the error by entering the two shown lines together at one prompt, then inspect the code-handling path associated with #4351. Compare the behavior with the open pull request #4444; done means this input no longer reports that line number 1 is missing.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.