madfish-solutions / sol2ligo

⌨️ 🔮 Transpiler from Solidity to PascalLIGO language
https://madfish-solutions.github.io/sol2ligo/
MIT License
70 stars 4 forks source link

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

Open vird opened 3 years ago

vird commented 3 years ago
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);
  }
}