135 - solc 0.6.0 Breaking
Solidity v0.6.0 Breaking Semantic Changes - changes where existing code changes its behaviour without the compiler notifying you about it:
The resulting type of an exponentiation is the type of the base.
It used to be the smallest type that can hold both the type of the base and the type of the exponent, as with symmetric operations.
Additionally, signed types are allowed for the base of the exponentiation.
- Breaking Semantic Changes
- Existing Code
- Changes Behavior
- Exp Result -> Base Type
- Not Smallest Type
- Both Base & Exponent