KT-16440 ClassConstructorDescriptorImpl has null returnType

Set constructor return type in FunctionDescriptorResolver#createConstructorDescriptor
(it seems to be the only place where ClassConstructorDescriptorImpl#initialize(...)
is called, but returnType is not set).
This commit is contained in:
Dmitry Petrov
2017-03-01 17:04:46 +03:00
parent dc1d92855d
commit 97fbbc74e6
4 changed files with 24 additions and 0 deletions
@@ -0,0 +1,3 @@
class A
val test = A()