Use WoofWare.Whippet.Fantomas rather than Myriad.Core (#280)

This commit is contained in:
Patrick Stevens
2024-10-06 21:22:06 +01:00
committed by GitHub
parent 4d641b0662
commit 40106d8aa3
42 changed files with 30 additions and 2271 deletions

View File

@@ -4,6 +4,7 @@ open System
open System.Text
open Fantomas.FCS.Syntax
open Fantomas.FCS.SyntaxTrivia
open WoofWare.Whippet.Fantomas
type internal JsonParseOutputSpec =
{
@@ -280,7 +281,7 @@ module internal JsonParseGenerator =
parseNumberType options propertyName node primType
|> SynExpr.pipeThroughFunction (Measure.getLanguagePrimitivesMeasure primType)
| JsonNode -> node
| Unit -> SynExpr.CreateConst ()
| UnitType -> SynExpr.CreateConst ()
| _ ->
// Let's just hope that we've also got our own type annotation!
let typeName =