Merge pull request #6010 from ethereum/incr-type-checker-cov

TypeChecker: Add test to increase coverage
This commit is contained in:
Daniel Kirchner 2019-02-14 14:29:34 +01:00 committed by GitHub
commit ab060b3e3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.