mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 15:53:49 +00:00
Remove StorageComponentContainerContributor::onContainerComposed
Rename addDeclarations -> registerModuleComponents
Use it to provide SamWithReceiverResolver extensions instead
Post construction on container composition can be achieved
but manually inserting injections where it seems appropriate
is bug prone
This fixes a bug where SamWithReceiverPlugin extension was not registered
for some containers in IDE which led to incorrect highlighting in IDE
Add IDE test for applying SamWithReceiver plugin
#KT-18062 Fixed
This commit is contained in:
8
idea/testData/multiModuleHighlighting/samWithReceiverExtension/m1/javaInterface/API.java
vendored
Normal file
8
idea/testData/multiModuleHighlighting/samWithReceiverExtension/m1/javaInterface/API.java
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
package javaInterface;
|
||||
|
||||
public class API {
|
||||
public <T> void useM1A(InterfaceM1A<T> m1A);
|
||||
public <G> void useM1B(InterfaceM1B<G> m1B);
|
||||
public <T> void useM2A(InterfaceM2A<T> m1A);
|
||||
public <G> void useM2B(InterfaceM2B<G> m1B);
|
||||
}
|
||||
Reference in New Issue
Block a user