mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
290 B
Plaintext
13 lines
290 B
Plaintext
{
|
|
let x:u256
|
|
let y := x
|
|
let z:bool
|
|
z := y
|
|
y := z
|
|
}
|
|
// ====
|
|
// dialect: evmTyped
|
|
// ----
|
|
// TypeError 9547: (51-52): Assigning a value of type "u256" to a variable of type "bool".
|
|
// TypeError 9547: (62-63): Assigning a value of type "bool" to a variable of type "u256".
|