fixupOptionType
lib.modules.fixupOptionType
Docs pulled from | This Revision | 14 minutes ago
TODO: Merge this into mergeOptionDecls
Noogle detected
Implementation
The following is the current implementation of this function.
fixupOptionType = loc: opt:
if opt.type.getSubModules or null == null
then opt // { type = opt.type or types.unspecified; }
else opt // { type = opt.type.substSubModules opt.options; options = []; };