mirror of
https://github.com/Smaug123/WoofWare.Myriad
synced 2025-10-06 04:28:42 +00:00
Cope with unit type in JSON (#262)
This commit is contained in:
@@ -280,6 +280,7 @@ module internal JsonParseGenerator =
|
||||
parseNumberType options propertyName node primType
|
||||
|> SynExpr.pipeThroughFunction (Measure.getLanguagePrimitivesMeasure primType)
|
||||
| JsonNode -> node
|
||||
| Unit -> SynExpr.CreateConst ()
|
||||
| _ ->
|
||||
// Let's just hope that we've also got our own type annotation!
|
||||
let typeName =
|
||||
|
Reference in New Issue
Block a user