mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow Yul literals longer than 32-bytes when used as literal arguments for builtins
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{
|
||||
let x := byte(40, "long___value__that___definitely___exceeds___the___thirty___two___byte___limit")
|
||||
}
|
||||
// ====
|
||||
// dialect: evm
|
||||
// ----
|
||||
// TypeError 3069: (24-103): String literal too long (77 > 32)
|
||||
Reference in New Issue
Block a user