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

[Bug]: Cyclic dependencies are not displayed after a change in the Problems tab #41755

Open
nipunayf opened this issue Nov 22, 2023 · 0 comments
Labels
Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Bug

Comments

@nipunayf
Copy link
Contributor

Description

Although the cyclic dependency diagnostic is generated in the "Problems" section in VS Code at first, once we make a change and attempt to reproduce the same error, the diagnostic is not visible again. Apparently, the cyclic dependency diagnostic is only produced in the "Problems" tab once.

Steps to Reproduce

  1. Create a new Ballerina project and establish a simple cyclic dependency between two modules.
  2. Comment out the import to eliminate the cyclic dependency error.
  3. Uncomment the code to check if the error reappears.

Affected Version(s)

Ballerina 2201.8.1 (Swan Lake Update 8)

OS, DB, other environment details and versions

OS: macOS 14.1.1 23B81
JDK: openjdk 17.0.8 2023-07-18

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@nipunayf nipunayf added Type/Bug Team/LanguageServer Language Server Implementation related issues. #Compiler labels Nov 22, 2023
@nipunayf nipunayf changed the title [Bug]: Cyclic dependencies are not displayed after a change [Bug]: Cyclic dependencies are not displayed after a change in Problems tab Nov 22, 2023
@nipunayf nipunayf changed the title [Bug]: Cyclic dependencies are not displayed after a change in Problems tab [Bug]: Cyclic dependencies are not displayed after a change in the Problems tab Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Bug
Projects
None yet
Development

No branches or pull requests

1 participant