KT-5044 intrinsify all contains calls for primitive ranges from stdlib
This commit is contained in:
@@ -402,8 +402,8 @@ public abstract class KotlinBuiltIns {
|
||||
public Set<DeclarationDescriptor> getIntegralRanges() {
|
||||
return SetsKt.<DeclarationDescriptor>setOf(
|
||||
getBuiltInClassByName("CharRange", rangesPackageFragment),
|
||||
getBuiltInClassByName("IntRange", rangesPackageFragment)
|
||||
// TODO: contains in LongRange should be optimized too
|
||||
getBuiltInClassByName("IntRange", rangesPackageFragment),
|
||||
getBuiltInClassByName("LongRange", rangesPackageFragment)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user