Merge pull request #4054 from pq/overriden_field
Fix analyzer field overrides.
This commit is contained in:
commit
3693a7c303
@ -196,8 +196,13 @@ class AnalysisErrorDescription {
|
||||
}
|
||||
|
||||
class DriverOptions extends AnalysisOptionsImpl {
|
||||
@override
|
||||
int cacheSize = 512;
|
||||
|
||||
DriverOptions() {
|
||||
// Set defaults.
|
||||
cacheSize = 512;
|
||||
lint = true;
|
||||
generateSdkErrors = false;
|
||||
}
|
||||
|
||||
/// The path to the dart SDK.
|
||||
String dartSdkPath;
|
||||
@ -211,15 +216,9 @@ class DriverOptions extends AnalysisOptionsImpl {
|
||||
/// The path to analysis options.
|
||||
String analysisOptionsFile;
|
||||
|
||||
@override
|
||||
bool generateSdkErrors = false;
|
||||
|
||||
/// Analysis options map.
|
||||
Map<Object, Object> analysisOptions;
|
||||
|
||||
@override
|
||||
bool lint = true;
|
||||
|
||||
/// Out sink for logging.
|
||||
IOSink outSink = stdout;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user