The intended check was "has any trait", but TraitOrDefault throws if there is more than one. Adjust this check so it doesn't throw in the face of multiple trait instances. Resolves a regression introduced in 63de527d9e0a90e2f055dc302dacca855092ebfa.
4.3 KiB
4.3 KiB