Closed jribbink closed 2 months ago
Probably a LS issue, maybe move to the cadence-tools
repo
Any news on this? It's completely breaking my workflow.
@jribbink Is the reproducer simply what is shown in the screenshot? something like import T from 0x1
?
Yeah, from what I can remember this will reproduce it 👍 .
This should be fixed by https://github.com/onflow/cadence/issues/3497.
I'm not sure if my original reproducer screenshot was missing something. I tried parsing imports like the one in the image and it doesn't seem to cause the issue (the Range
assigned to the ImportDeclaration
appears correct), so it must have been entitlements.
Problem
textDocument/documentSymbol
failed error displays any time the LS tries to check this code (i.e. just type in the window and each time it refreshes the LS it will show).Steps to Reproduce
Write an import similar to what I have and make LS refresh.
Acceptance Criteria
Doesn't show error.
Context
Bad UX, useless error