Fix source location of yul multi-assignemnt.

This commit is contained in:
chriseth
2020-06-18 14:31:53 +02:00
parent d19aa2e51b
commit b00014c51d
3 changed files with 12 additions and 6 deletions
@@ -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)