From 690994a28cc3045c14268996144e9302fa43bf68 Mon Sep 17 00:00:00 2001 From: sterni Date: Thu, 18 Feb 2021 01:33:27 +0100 Subject: fix(nix/yants): make (typedef …).checkType return a result set MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously, for types defined using typedef (like all primitive types) type.checkType would return a boolean. This is largely fine since in most places `type.checkToBool (type.checkType x)` or similar is used. However, some functions actually take type.checkType up on the promise that it returns a set of the form: { ok = ; err =