mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
238 B
Plaintext
11 lines
238 B
Plaintext
{
|
|
switch 7
|
|
case true:bool {}
|
|
case true:bool {}
|
|
}
|
|
// ====
|
|
// dialect: evmTyped
|
|
// ----
|
|
// TypeError: (24-33): Expected a value of type "u256" but got "bool"
|
|
// TypeError: (46-55): Expected a value of type "u256" but got "bool"
|