sol2ligo icon indicating copy to clipboard operation
sol2ligo copied to clipboard

Error: can't spread 'byte' to 'number'

Open vird opened this issue 5 years ago • 0 comments

pragma solidity ^0.5.11;

contract Test {
  function test() public {
    byte b0;
    byte b1 = 0x01;
    bytes3 b2 = hex"42";
    bytes3 b3 = 0x323232;
    bytes memory b4 = new bytes(0);
    bytes memory b5 = new bytes(10);
  }
}

vird avatar Nov 10 '20 08:11 vird