Extract Method
extracts to non-static method in static context
#4564
Labels
in editor
Relates to code editing or language features
in lsp/analysis server
Something to be fixed in the Dart analysis server
is bug
relies on sdk changes
Something that requires changes in the Dart/Flutter SDK to ship before it will become available
Milestone
Describe the bug
Given a method
when calling
Extract Method
on the inner lambda, it extracts towhich then gives the
implicit_this_reference_in_initializer
error. It should instead extract toPlease complete the following information:
Dart SDK version: 3.1.0-39.0.dev (dev) (Mon Apr 24 18:53:55 2023 -0700) on "linux_x64"
Version: 1.78.0
Commit: 252e5463d60e63238250799aef7375787f68b4ee
Date: 2023-05-03T20:09:46.685Z
Electron: 22.4.8
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 6.1.20-2rodete1-amd64
Sandboxed: No
Dart-Code v3.65.20230520 Pre-Release
The text was updated successfully, but these errors were encountered: