Remove context(parentNode: Node) and provide the parent Node as a parameter.
This commit is contained in:
@@ -19,6 +19,5 @@ interface FeatureEntryPoint
|
||||
* Can be used when the feature only exposes a simple node without the need of plugins.
|
||||
*/
|
||||
fun interface SimpleFeatureEntryPoint : FeatureEntryPoint {
|
||||
context(parentNode: Node)
|
||||
fun createNode(buildContext: BuildContext): Node
|
||||
fun createNode(parentNode: Node, buildContext: BuildContext): Node
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user