Disallow invalid use of library names as type names.

This commit is contained in:
Daniel Kirchner
2020-10-16 18:25:08 +02:00
parent 9aafb62e52
commit 3f14c904b0
13 changed files with 92 additions and 33 deletions
@@ -0,0 +1,8 @@
library L {}
contract C {
function f() public {
L[] memory x;
}
}
// ----
// TypeError 1130: (51-52): Invalid use of a library name.