Resolve lateinit variables

Do not report UNINITIALIZED_VARIABLE on lateinit variables
Provide delegating constructors for descriptors for compatibility.
This commit is contained in:
Dmitry Petrov
2017-05-31 13:52:07 +03:00
parent f88cd5ed3d
commit 3bae430d49
19 changed files with 86 additions and 13 deletions
@@ -67,6 +67,8 @@ open class FakeCallableDescriptorForObject(
override fun isConst(): Boolean = false
override fun isLateInit(): Boolean = false
override fun equals(other: Any?) = other is FakeCallableDescriptorForObject && classDescriptor == other.classDescriptor
override fun hashCode() = classDescriptor.hashCode()