Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 790 Bytes

solc 0.6.0 Breaking.md

File metadata and controls

25 lines (21 loc) · 790 Bytes

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.


Slide Screenshot

135.jpg


Slide Text

  • Breaking Semantic Changes
  • Existing Code
  • Changes Behavior
  • Exp Result -> Base Type
  • Not Smallest Type
  • Both Base & Exponent

References


Tags