Propagate annotations when performing substitution on constructors #KT-7608 Fixed
Tests for deprecated warning on generic constructor.
This commit is contained in:
+1
-1
@@ -127,7 +127,7 @@ public class ConstructorDescriptorImpl extends FunctionDescriptorImpl implements
|
||||
return new ConstructorDescriptorImpl(
|
||||
(ClassDescriptor) newOwner,
|
||||
this,
|
||||
Annotations.EMPTY, // TODO
|
||||
getAnnotations(),
|
||||
isPrimary,
|
||||
Kind.DECLARATION,
|
||||
SourceElement.NO_SOURCE
|
||||
|
||||
Reference in New Issue
Block a user