File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -694,15 +694,16 @@ let multisetDiscriminateAndMap nodef tipf (items: ('Key list * 'Value) list) =
694694 tips @ nodes
695695
696696/// Import an IL type definition as a new F# TAST Entity node.
697- let rec ImportILTypeDef ( amap : ImportMap ) m scoref ( cpath : CompilationPath ) enc nm ( tdef : ILTypeDef ) =
697+ let rec ImportILTypeDef amap m scoref ( cpath : CompilationPath ) enc nm ( tdef : ILTypeDef ) =
698698 let lazyModuleOrNamespaceTypeForNestedTypes =
699699 InterruptibleLazy( fun _ ->
700700 let cpath = cpath.NestedCompPath nm ModuleOrType
701701 ImportILTypeDefs amap m scoref cpath ( enc@[ tdef]) tdef.NestedTypes
702702 )
703703
704704 let nullableFallback =
705- if amap.g.langFeatureNullness && amap.g.checkNullness then
705+ let amapValue = amap()
706+ if amapValue.g.langFeatureNullness && amapValue.g.checkNullness then
706707 // Immediately read the attrs to avoid keeping a reference to tdef.CustomAttrsStored
707708 let attrs = tdef.CustomAttrsStored.GetCustomAttrs( tdef.MetadataIndex)
708709 Nullness.FromClass( Nullness.AttributesFromIL( tdef.MetadataIndex, Given attrs))
You can’t perform that action at this time.
0 commit comments