Fixes CASE/WHEN expression possibly returning a set
commitda7671229b89ce5e50297ccb35f46e70d9b74147
authoriko <ilyakooo0@gmail.com>
dateMon 19 Dec 2022, 11:41 (4 years ago)
parent6c038ec
src/Rel8/Table/Maybe.hs+1−1
@@ -142,7 +142,7 @@ instance (Table context a, Reifiable context, context ~ context') =>
142142
143143 toColumns MaybeTable {tag, just} = HMaybeTable
144144 { htag = hlabel $ HIdentity tag
145− , hjust = hlabel $ guard tag isJust isNonNull $ toColumns just
145+ , hjust = hlabel $ toColumns just
146146 }
147147
148148 fromColumns HMaybeTable {htag, hjust} = MaybeTable