[FIR] Fix creating type attributes for intersection types

This commit is contained in:
Dmitriy Novozhilov
2020-06-29 14:45:53 +03:00
parent fab9ee47f9
commit cfa250957a
@@ -243,7 +243,7 @@ class ConeIntersectionType(
override val attributes: ConeAttributes = intersectedTypes.foldMap(
{ it.attributes },
{ a, b -> a.union(b) }
{ a, b -> a.intersect(b) }
)
private var hashCode = 0