since 1.3 main arg is not necessary anymore... but...
# intellij
d
since 1.3 main arg is not necessary anymore... but... if I run the inspection to remove it .. so that it is
main()
then the green run left gutter arrow disappears - is this standard behaviour?
m
Are you on the latest versions? Maybe rebuild or clearing cache helps?
j
d
ok, I see - just gotta wait I guess
or is 1.3.3 out already?
m
Ah, it only happens if the main func is not at top level
d
I have an
object
with an
@JvmStatic
main inside - sometimes they can be useful
g
In this case main method without arguments will not be generated, so you have to use top level main with args or class level main with params