mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix source location of yul multi-assignemnt.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
contract C {
|
||||
function f() pure public {
|
||||
uint x; uint y;
|
||||
assembly { x, y := 7 }
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// DeclarationError: (87-96): Variable count does not match number of values (2 vs. 1)
|
||||
Reference in New Issue
Block a user