mirror of
https://github.com/github/semantic.git
synced 2024-12-27 00:44:57 +03:00
Free.Roll encodes its case explicitly.
This commit is contained in:
parent
7dd861169f
commit
0ebed9599b
@ -175,6 +175,10 @@ extension Free {
|
||||
"pure": ifPure($0),
|
||||
])
|
||||
},
|
||||
ifRoll: { $0.JSON(ifLeaf: ifLeaf, ifRecur: { $0.JSON(ifPure: ifPure, ifLeaf: ifLeaf) }) })
|
||||
ifRoll: {
|
||||
Doubt.JSON.Dictionary([
|
||||
"roll": $0.JSON(ifLeaf: ifLeaf, ifRecur: { $0.JSON(ifPure: ifPure, ifLeaf: ifLeaf) })
|
||||
])
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user