File

teal-src/util/termcolours.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 12623:b462fbc600f2
line wrap: on
line source

local record lib
	getstring : function (string, string) : string
	getstyle : function (...:string) : string
	setstyle : function (string) : string
	tohtml :  function (string) : string
end
return lib