Skip to content

Commit

Permalink
Add RequireQualifiedAccess to ParsedHashDirectiveArgument type. (#11795)
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf authored Jul 8, 2021
1 parent 5148e8d commit 78ca728
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fsharp/SyntaxTree.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1826,7 +1826,7 @@ type SynModuleOrNamespaceSig =
match this with
| SynModuleOrNamespaceSig (range=m) -> m

[<NoEquality; NoComparison>]
[<NoEquality; NoComparison; RequireQualifiedAccess>]
type ParsedHashDirectiveArgument =
| String of value: string * stringKind: SynStringKind * range: Range
| SourceIdentifier of constant: string * value: string * range: Range
Expand Down
2 changes: 1 addition & 1 deletion src/fsharp/SyntaxTree.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -2015,7 +2015,7 @@ type SynModuleOrNamespaceSig =
member Range: range

/// Represents a parsed hash directive argument
[<NoEquality; NoComparison>]
[<NoEquality; NoComparison; RequireQualifiedAccess>]
type ParsedHashDirectiveArgument =
| String of value: string * stringKind: SynStringKind * range: Range
| SourceIdentifier of constant: string * value: string * range: Range
Expand Down

0 comments on commit 78ca728

Please sign in to comment.