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
typeCircle=object
radius: float=1.0# Nim 2.0 adds default values for object fields at constructionwhenisMainModule:
var circle =Circle()
echo circle.radius
The extension is complaining, although it's a correct code for 2.0:
"Error: initialization not allowed here"
The text was updated successfully, but these errors were encountered:
I have nimble (v2.0) and Archlinux nim package (v1.6). It seems that /usr/bin/nim was being used. So I removed the Archlinux package and kept only local nimble installation. The syntax highlighting doesn't complain anymore, but I don't get no hover interaction, no goto definition. It seems that it's related to #97 and #102. If I show the developer console on vs code, I get:
The extension is complaining, although it's a correct code for 2.0:
"Error: initialization not allowed here"
The text was updated successfully, but these errors were encountered: