Join Slack
Powered by
<@U0CHHN4F4> Something that would be awesome is to...
# scripting
t
thejire
10/28/2016, 9:21 AM
@ilya.chernikov
Something that would be awesome is to compile .kts to an object with an "invoke" operator function which can be usable within regular Kotlin. For example,
Test.kts
could compile automatically to an object
Test
which has an operator
invoke
function, so that you can run
Test.kts
like this from regular Kotlin code:
Test()
🙂
3
Views
Open in Slack
Previous
Next