Remove more of Myriad.Core (#276)

This commit is contained in:
Patrick Stevens
2024-10-02 21:38:00 +01:00
committed by GitHub
parent 0652744c57
commit 8488883835
18 changed files with 276 additions and 195 deletions

View File

@@ -150,7 +150,10 @@ type RemoveOptionsGenerator () =
let namespaceAndRecords =
records
|> List.choose (fun (ns, types) ->
match types |> List.filter Ast.hasAttribute<RemoveOptionsAttribute> with
match
types
|> List.filter (SynTypeDefn.hasAttribute typeof<RemoveOptionsAttribute>.Name)
with
| [] -> None
| types ->
let types =