Parser: Exponentiation is right associative

This commit is contained in:
hrkrshnn
2020-10-13 16:38:37 +02:00
parent 0ea4bdafcd
commit 13e7012e1e
7 changed files with 101 additions and 40 deletions
+2
View File
@@ -15,3 +15,5 @@ This section lists changes where you have to modify your code
and it does something else afterwards.
* Explicit conversions from negative literals and literals larger than ``type(uint160).max`` to ``address`` are now disallowed.
* Exponentiation is right associative, i.e., the expression ``a**b**c`` is parsed as ``a**(b**c)``.
Before 0.8.0, it was parsed as ``(a**b)**c``.