FeatureSet.latestLanguageVersion constructor

FeatureSet.latestLanguageVersion()

Computes the set of features for the latest language version known to the analyzer, without any experiments. Use it only if you really don't care which language version you want to use, and sure that the code that you process is valid for the latest language version.

Otherwise, it is recommended to use FeatureSet.fromEnableFlags2.

Implementation

factory FeatureSet.latestLanguageVersion() =
    ExperimentStatus.latestLanguageVersion;