TypeChecker: Add test to increase coverage

This commit is contained in:
Mathias Baumann 2019-02-14 13:41:33 +01:00
parent f003696d7e
commit 419a12db03

View File

@ -0,0 +1,8 @@
contract C {
mapping(uint => uint) m;
function f() public {
m[] = 3;
}
}
// ----
// TypeError: (76-79): Index expression cannot be omitted.