You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Nim with the commit hash 684a862526847c39597e345d00b8323353012c07 from the develop branch and i've compiled the language server so i could use it with the Nimsaem extension. My exact Nim compiler info is here:
To reproduce my error, use the develop branch of Nim, the latest commit of this repo, and run that command. Then in visual studio code, create two files, with one using a type/method from another. For the imported file, add
# b.nimtypeHelloWorld*=object
msh*: string
then import it in the other file and use it as such:
# a.nimimport b
var helloWorld =HelloWorld()
helloWorld.msh ="Wow"
At this stage, you should get no errors. To reproduce my issue, rename msh in the HelloWorld type definition to msg, and in a.nim, change helloWorld.msh to helloWorld.msg. You will then get an error complaining about how it doesn't exist. A 'fix' for this is to edit b.nim by adding a character and deleting it, which refreshes the project, but editing a.nim will cause the error to reappear.
The text was updated successfully, but these errors were encountered:
Information
I'm using Nim with the commit hash
684a862526847c39597e345d00b8323353012c07
from the develop branch and i've compiled the language server so i could use it with the Nimsaem extension. My exact Nim compiler info is here:I compiled
nimble install --legacy:laxEffects --define:release
the lang server with this command.nimble install --legacy:laxEffects --define:release
This is my
.vscode/settings.json
file for the project:To Reproduce My Bug
To reproduce my error, use the develop branch of Nim, the latest commit of this repo, and run that command. Then in visual studio code, create two files, with one using a type/method from another. For the imported file, add
then import it in the other file and use it as such:
At this stage, you should get no errors. To reproduce my issue, rename
msh
in theHelloWorld
type definition tomsg
, and ina.nim
, changehelloWorld.msh
tohelloWorld.msg
. You will then get an error complaining about how it doesn't exist. A 'fix' for this is to editb.nim
by adding a character and deleting it, which refreshes the project, but editinga.nim
will cause the error to reappear.The text was updated successfully, but these errors were encountered: