unicode operator bugfixes (#18802)

This commit is contained in:
Andreas Rumpf 2021-09-04 17:49:27 +02:00 • committed by GitHub
commit 5c85e480a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 63 additions and 47 deletions

View file

@ -5,8 +5,10 @@ proc `⊙=`(x: var int, y: int) = x *= y
proc `⊞++`(x, y: int): int = x + y
const a = 9
var x = 45
x ⊙= 9 ⊞++ 4 ⊙ 3
x ⊙= a⊞++4⊙3
var y = 45
y *= 9 + 4 * 3