diff --git a/prototype/Doubt/Free.swift b/prototype/Doubt/Free.swift index e0a965229..0ec0c444b 100644 --- a/prototype/Doubt/Free.swift +++ b/prototype/Doubt/Free.swift @@ -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) }) + ]) + }) } }