You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Compiler/Checking/CheckExpressions.fs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -10788,6 +10788,7 @@ and TcAttributeEx canFail (cenv: cenv) (env: TcEnv) attrTgt attrEx (synAttr: Syn
10788
10788
let mAttr = synAttr.Range
10789
10789
let typath, tyid = List.frontAndBack tycon
10790
10790
let tpenv = emptyUnscopedTyparEnv
10791
+
let ad = env.eAccessRights
10791
10792
10792
10793
// if we're checking an attribute that was applied directly to a getter or a setter, then
10793
10794
// what we're really checking against is a method, not a property
@@ -10796,13 +10797,12 @@ and TcAttributeEx canFail (cenv: cenv) (env: TcEnv) attrTgt attrEx (synAttr: Syn
10796
10797
let try1 n =
10797
10798
let tyid = mkSynId tyid.idRange n
10798
10799
let tycon = (typath @ [tyid])
10799
-
let ad = env.eAccessRights
10800
+
10800
10801
match ResolveTypeLongIdent cenv.tcSink cenv.nameResolver ItemOccurence.UseInAttribute OpenQualified env.eNameResEnv ad tycon TypeNameResolutionStaticArgsInfo.DefiniteEmpty PermitDirectReferenceToGeneratedType.No with
0 commit comments