maxExpandedEqualityChecks

const val maxExpandedEqualityChecks: Int = 3

Use a series of instance equality checks if we're doing type testing for method dispatch code and the type is a non-meta enumeration with at most this number of instances. Otherwise do a type test.