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
{{ message }}
Repository navigation
Bug: cannot find <object> in scope issue is emitted but the object does exist. #15
When I create a new file and define a new class, referencing the new class in another file will produce a cannot find <object> in scope error. It persists through builds (which work fine). The menu option to clear issues from previous builds doesn't remove it.
The only way I know to clear this error is to toggle off the Icarus extension and then toggle it on again.
I reproduced this from a fresh launch and watched the extension console, but nothing was emitted there as I added the file and referenced it.
I also noticed that the LSP will crash with a notification if I delete a file, in case that's relevant.
The new file part is the key thing, I can make a new class in an existing file and everything works fine, but as soon as I move the class into a new file, this error appears and won't go away until the LSP restarts.
Activity
PadraigK commentedon Oct 5, 2023
This is with Xcode 15 as my
xcode-selectXcode and no custom settings on Icarus.PadraigK commentedon Oct 5, 2023
The new file part is the key thing, I can make a new class in an existing file and everything works fine, but as soon as I move the class into a new file, this error appears and won't go away until the LSP restarts.
alicerunsonfedora commentedon Nov 24, 2023
I noticed this as well when generating a new file altogether. The LSP doesn't seem to recognize it until I close and re-open the project.