You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Has tags" predicate assertion changed to be non positional
Current assertions will only pass if tags argument order matches tagging order
typeCases=[// Should only pass if tags arguments is ["bar", "foo"]Expect<Equal<HasTags<Tag<Tag<{},"bar">,"foo">,["foo","bar"]>,false>>,// Should only pass if tags arguments is ["foo", "baz"] or ["foo", "baz", 'bar]Expect<Equal<HasTags<Tag<Tag<Tag<{},"foo">,"baz">,"bar">,["foo","bar"]>,false>>,]
Solution will only fail if a non existent tag is provided
typeCases=[// Will pass for ["foo", "bar", "baz"], ["baz", "bar", "foo"], ...etcExpect<Equal<HasTags<Tag<Tag<Tag<{},"foo">,"baz">,"bar">,["foo","bar"]>,true>>,]
Try me!
Expectation changes
"Has tags" predicate assertion changed to be non positional
Current assertions will only pass if tags argument order matches tagging order
Solution will only fail if a non existent tag is provided
Solution
The text was updated successfully, but these errors were encountered: