File

teal-src/util/hex.d.tl @ 12746:7eabf8d78978

util.roles: Return nil if the role has no explicit policy (fixes inheritance) Previously, if the first inherited role had no opinion, it returned false and prevented further consultation of other inherited roles. This bug was found thanks to the implementation of missing test cases identified through mutation testing.
author Matthew Wild <mwild1@gmail.com>
date Fri, 07 Oct 2022 16:58:08 +0100
parent 12606:6683beb96e01
line wrap: on
line source

local type s2s = function (s : string) : string
local record lib
	to : s2s
	from : s2s
	encode : s2s
	decode : s2s
end
return lib