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
if not (isNil attr2) then errorR(Deprecated(FSComp.SR.parsAttributesMustComeBeforeVal(), rhs parseState 4))
841
841
let m = rhs2 parseState 1 11
842
-
let valSpfn = SynValSig((attr1@attr2), id, explicitValTyparDecls, ty, arity, isInline, isMutable, doc, vis2, konst, m)
842
+
let valSpfn = SynValSig((attr1@attr2), id, explicitValTyparDecls, ty, arity, isInline, isMutable, doc, vis2, konst, None, m)
843
843
SynModuleSigDecl.Val(valSpfn, m)
844
844
}
845
845
@@ -941,7 +941,7 @@ tyconSpfnRhs:
941
941
| DELEGATE OF topType
942
942
{ let m = lhs parseState
943
943
let ty, arity = $3
944
-
let invoke = SynMemberSig.Member(SynValSig([], mkSynId m "Invoke", inferredTyparDecls, ty, arity, false, false, PreXmlDoc.Empty, None, None, m), AbstractMemberFlags SynMemberKind.Member, m)
944
+
let invoke = SynMemberSig.Member(SynValSig([], mkSynId m "Invoke", inferredTyparDecls, ty, arity, false, false, PreXmlDoc.Empty, None, None, None, m), AbstractMemberFlags SynMemberKind.Member, m)
945
945
(fun nameRange nameInfo mEquals augmentation ->
946
946
if not (isNil augmentation) then raiseParseErrorAt m (FSComp.SR.parsAugmentationsIllegalOnDelegateType())
947
947
let mWhole = unionRanges nameRange m
@@ -1022,7 +1022,7 @@ classMemberSpfn:
1022
1022
| None -> unionRanges m ty.Range
1023
1023
| Some m2 -> unionRanges m m2
1024
1024
|> fun m -> (m, $1) ||> unionRangeWithListBy (fun (a: SynAttributeList) -> a.Range)
0 commit comments