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

@@ -727,7 +727,7 @@ type JsonParseGenerator () =
|> List.choose (fun (ns, types) ->
types
|> List.choose (fun typeDef ->
match Ast.getAttribute<JsonParseAttribute> typeDef with
match SynTypeDefn.getAttribute typeof<JsonParseAttribute>.Name typeDef with
| None ->
let name = SynTypeDefn.getName typeDef |> List.map _.idText |> String.concat "."