scalameta/metals
在 GitHub 查看When a name like `res2` is used in a worksheet, it causes a double definition
Open
#5,680 建立於 2023年9月26日
buggood first issueworksheets
描述
Describe the bug
- Open a worksheet
- Type a few lines of results to be evaluated.
- Define a value named
val res2 = 1to see error.
Expected behavior
Should evaluate OK.
Operating system
Linux
Editor/Extension
VS Code
Version of Metals
v1.0.1
Extra context or search terms
worksheet, result, double definition, Mdoc