Join Slack
Powered by
Hi! I've a beginner question concerning a little K...
# announcements
b
bgoetzmann
08/02/2017, 8:35 PM
Hi! I've a beginner question concerning a little Kotlin script, in which I use the
with
function on an object I created. When I try to execute it, I get the error message
Expecting a top level declaration
. All is OK if it is included in a
main
function. What is the explanation? Thanks.
Open in Slack
Previous
Next