forked from JetBrains/kotlin
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Now continue is unsupported. Probably we can support it by compiling do { <body> } while (<condition>) as follows:
firstIterationLoopName = true
while firstIterationLoopName or (<condition>):
firstIterationLoopName = false
<body>
We need to introduce loop name, but there is already some logic for it in PyGenerationContext – we can pick the missing parts inside js-ir. Or we could use a concept of tmpVariable, this can be even easier.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working