Initializer default values in 'tailrec' method in proper order
#KT-31540 Fixed
This commit is contained in:
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
||||
// !LANGUAGE: +ProperComputationOrderOfTailrecDefaultParameters
|
||||
// DONT_RUN_GENERATED_CODE: JS
|
||||
// IGNORE_BACKEND: JVM
|
||||
|
||||
var counter = 0
|
||||
fun inc() = counter++
|
||||
|
||||
Reference in New Issue
Block a user