Thread for <https://kotlinlang.slack.com/archives/...
# javascript
@Deactivated User right now compiler uses first main that founded by BFS like algorithm started from root
d
And what if I have several main functions or main functions in libraries? All them will be executed right?
b
Actually, it’s not the best idea and we are going to redesign it
d
Ok
b
All them will be executed right?
right now only first
d
Well if there are several in the same module, but what if I have main i nseveral modules? But actually, it is not important if it is going to be redesigned
b
Well, I’ve created the umbrella issue for that https://youtrack.jetbrains.com/issue/KT-21088. Feel free to write your usecases as comment or as separate issues
d
nice 👍
b
But actually, it is not important if it is going to be redesigned
it’s important now to collect as much as possible cases
👍 1
Thank you!