@@ -80,11 +80,8 @@ class RulesOptions extends TypeOptions {
80
80
/// Whether to inject casts between Dart assignable types.
81
81
final bool relaxedCasts;
82
82
83
- /// Whether to use static types for code generation.
84
- final bool ignoreTypes;
85
-
86
- RulesOptions ({this .inferDownwards: inferDownwardsDefault,
87
- this .relaxedCasts: true , this .ignoreTypes: false });
83
+ RulesOptions (
84
+ {this .inferDownwards: inferDownwardsDefault, this .relaxedCasts: true });
88
85
}
89
86
90
87
class JSCodeOptions {
@@ -188,10 +185,6 @@ class CompilerOptions implements RulesOptions, ResolverOptions, JSCodeOptions {
188
185
@override
189
186
final List <String > nonnullableTypes;
190
187
191
- /// Whether to use static types for code generation.
192
- @override
193
- final bool ignoreTypes;
194
-
195
188
/// Whether to emit the source map files.
196
189
@override
197
190
final bool emitSourceMaps;
@@ -205,8 +198,8 @@ class CompilerOptions implements RulesOptions, ResolverOptions, JSCodeOptions {
205
198
final Map <String , String > customUrlMappings;
206
199
207
200
CompilerOptions ({this .checkSdk: false , this .dumpInfo: false ,
208
- this .dumpInfoFile, this .forceCompile: false , this .ignoreTypes : false ,
209
- this .outputDir, this . useColors: true , this .relaxedCasts: true ,
201
+ this .dumpInfoFile, this .forceCompile: false , this .outputDir ,
202
+ this .useColors: true , this .relaxedCasts: true ,
210
203
this .useMultiPackage: false , this .packageRoot: 'packages/' ,
211
204
this .packagePaths: const < String > [], this .resources: const < String > [],
212
205
this .inferDownwards: RulesOptions .inferDownwardsDefault,
@@ -272,7 +265,6 @@ CompilerOptions parseOptions(List<String> argv) {
272
265
dumpInfo: dumpInfo,
273
266
dumpInfoFile: args['dump-info-file' ],
274
267
forceCompile: args['force-compile' ] || serverMode,
275
- ignoreTypes: args['ignore-types' ],
276
268
outputDir: outputDir,
277
269
relaxedCasts: args['relaxed-casts' ],
278
270
useColors: useColors,
@@ -310,8 +302,6 @@ final ArgParser argParser = new ArgParser()
310
302
abbr: 's' , help: 'Typecheck sdk libs' , defaultsTo: false )
311
303
..addFlag ('mock-sdk' ,
312
304
abbr: 'm' , help: 'Use a mock Dart SDK' , defaultsTo: false )
313
- ..addFlag ('ignore-types' ,
314
- help: 'Ignore types during codegen' , defaultsTo: false )
315
305
..addFlag ('relaxed-casts' ,
316
306
help: 'Cast between Dart assignable types' , defaultsTo: true )
317
307
..addOption ('nonnullable' ,
0 commit comments