Pseudocode: Generate correct values for postfix increment/decrement
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
fun bar(n: Int) {
|
||||
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
var a = 1
|
||||
bar(a++)
|
||||
bar(a--)
|
||||
bar(++a)
|
||||
bar(--a)
|
||||
}
|
||||
Reference in New Issue
Block a user