-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
apiCommon API for plottingCommon API for plottinginvalidThis doesn't seem rightThis doesn't seem right
Milestone
Description
SelfInvocationContext is a special interface that actually works like trait. It has invoke() extension function that opens scope with this as a reciever:
public operator fun <T : SelfInvocationContext> T.invoke(block: T.() -> Unit): T = apply(block)
It simplifies DSL creation (see Axis or Legend API for example), but it complicates work with Kandy in Gradle projects, since user need invoke import (and IDEA doesn't even suggest to add this import!).
Metadata
Metadata
Assignees
Labels
apiCommon API for plottingCommon API for plottinginvalidThis doesn't seem rightThis doesn't seem right