【建议】异常提示信息优化
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.7k
- Forks
- 364
- PR merge metrics
- No merged PRs in 30d
Description
语句:=file("f:/data.btx").import@b();
报错提示:表达式:file("f:/data.btx").import@b(); 不能有分号中不能识别的表达式:;
有点语句不通顺,不容易get重点,建议优化
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported expression =file("f:/data.btx").import@b(); and locate the code that formats this syntax error message. Compare the current wording with the intended meaning, then verify that the revised message clearly identifies the unexpected semicolon and covers the reported case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100