Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LS] Windows issue on resolving string imports #97

Open
sideninja opened this issue Apr 11, 2023 · 1 comment
Open

[LS] Windows issue on resolving string imports #97

sideninja opened this issue Apr 11, 2023 · 1 comment
Assignees
Labels
Bug The issue represents a bug, malfunction, regression Feedback Language Server

Comments

@sideninja
Copy link
Contributor

sideninja commented Apr 11, 2023

There's a windows specific issue when resolving string imports. The Sentry report:

Sentry Issue: LANGUAGE-SERVER-6V

runtime.errorString: runtime error: invalid memory address or nil pointer dereference
  File "/go/pkg/mod/github.com/onflow/cadence-tools/[email protected]/integration/resolvers.go", line 41, in (*resolvers).stringImport
  File "/go/pkg/mod/github.com/onflow/cadence-tools/[email protected]/server/server.go", line 2019, in (*Server).resolveImport
  File "/go/pkg/mod/github.com/onflow/cadence-tools/[email protected]/server/server.go", line 2870, in (*Server).handleImport
  File "/go/pkg/mod/github.com/onflow/[email protected]/runtime/sema/check_import_declaration.go", line 102, in (*Checker).importResolvedLocation
  File "/go/pkg/mod/github.com/onflow/[email protected]/runtime/sema/check_import_declaration.go", line 65, in (*Checker).declareImportDeclaration
...
(9 additional frame(s) were not displayed)

https://dapperlabs.sentry.io/issues/3901167811/events/latest/?project=6330569&query=is%3Aunresolved+level%3Afatal&referrer=latest-event&stream_index=0

@sideninja sideninja changed the title ] [LS] Windows issue on resolving string imports Apr 11, 2023
@sideninja sideninja self-assigned this Apr 11, 2023
@sideninja sideninja moved this to 🔖 Ready for Pickup in 🌊 Flow 4D Apr 11, 2023
@sideninja sideninja added the Bug The issue represents a bug, malfunction, regression label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug The issue represents a bug, malfunction, regression Feedback Language Server
Projects
None yet
Development

No branches or pull requests

4 participants
@turbolent @DylanTinianov @sideninja and others