[Bug]: Deleting a generated file doesn't show diagnostics immediately #40119
Labels
Area/ProjectAPI
Reason/EngineeringMistake
The issue occurred due to a mistake made in the past.
Type/Bug
Milestone
Description
Delete a generated file that has a function used by a non-generated function. That doesn't show diagnostics immediately without reloading. This is applicable for both source and test files.
Steps to Reproduce
For source files:
main.bal
generated/main_new.bal
For test files:
mod1/test1.bal
generated/mod1/test_new1.bal
We need to test same for when using source function in a test case and deleting source file.
Affected Version(s)
2201.4.x, 2201.5.0
OS, DB, other environment details and versions
No response
Related area
-> Other Area
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: