IR: use descriptor directly in IrLazyEnumEntryImpl

This works even when the symbol contains no descriptor
(as it does happen after deserialization).
This commit is contained in:
Georgy Bronnikov
2021-11-18 19:10:04 +03:00
committed by TeamCityServer
parent eda913554d
commit 63359d8492
@@ -47,7 +47,7 @@ class IrLazyEnumEntryImpl(
override var annotations: List<IrConstructorCall> by createLazyAnnotations()
override val name: Name = symbol.descriptor.name
override val name: Name = descriptor.name
override var correspondingClass: IrClass? = null