[Bug]: Incorrect quick fix for invalid access of a mutable field of an 'isolated' object outside a 'lock' statement
#41331
Labels
Area/CodeAction
Language Server Code Actions
Reason/Invalid
Issue is invalid.
Team/LanguageServer
Language Server Implementation related issues. #Compiler
Type/Bug
Description
Screen.Recording.2023-09-04.at.11.06.00.mov
This suggests
Extract to local variable
as a quick fix which is incorrect. Wrapping the statement inside a lock statement may be a good quick fixSteps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Editor
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: