Merge pull request #4464 from cryptomental/bugfix/fix-typos-in-AsmParser-and-TypeChecker

AsmParser,TypeChecker: Fix typos.
This commit is contained in:
chriseth
2018-07-10 21:07:56 +02:00
committed by GitHub
5 changed files with 11 additions and 4 deletions
@@ -0,0 +1,7 @@
contract C {
function f() pure public {
abi.encodeWithSelector({selector:"abc"});
}
}
// ----
// TypeError: (52-92): Named arguments cannot be used for functions that take arbitrary parameters.