4 ms·
Sorry; editing mishap, yes. Here's the missing example: class Holder { var x = 0 } var n = 1 var h: Holder? = ... h?.x = n++ n // 1 or 2?
by senderpath 11y ago
Sorry; editing mishap, yes. Here's the missing example:
class Holder { var x = 0 }
var n = 1
var h: Holder? = ...
h?.x = n++
n // 1 or 2?
- senderpath 11y agoPS: We have corrected the editing glitch and restored the missing section. Thanks for catching it.