Flutter Engine
The Flutter Engine
|
DartFileEditBuilder
: convertFunctionFromSyncToAsync
and replaceTypeWithFuture
.6.x
of the analyzer
package5.x
of the analyzer
packageanalyzeFiles
from handleAffectedFiles
only for files that are analyzed in this analysis context.AnalysisContextCollection
and AnalysisContext
for analysis.4.x
of the analyzer
package3.x
of the analyzer
package2.14
to use Object.hash()
.yaml 3.1.0
to use recover
.2.x
of the analyzer
package^1.3.0
.Plugin.fileContentOverlay
, instead Plugin.resourceProvider
is now OverlayResourceProvider
, and analysis.updateContent
updates it.DartChangeBuilder
and DartChangeBuilderImpl
.ChangeBuilder.addFileEdit()
.DartChangeBuilder
and enhanced ChangeBuilder
to be the replacement for it.ChangeBuilder.addFileEdit
and introduced ChangeBuilder.addDartFileEdit
and ChangeBuilder.addGenericFileEdit
to be the replacements for it.>=0.41.0 <0.42.0
.Plugin.getResolveResult
. Use getResolvedUnitResult
.^0.39.12
AnalyzerConverter.locationFromElement
(was previously private).Relevance
.FixKind.name
, replaced with FixKind.id
. Technically this is a breaking change but we believe that in practice it is benign, since FixKind.name
was only used for debugging.computeDartNavigation
.^0.39.0
<0.39.0
.DartEditBuilder.writeOverride()
to accept ExecutableElement
instead of FunctionType
.pkg:analyzer
.pkg:analyzer
.