mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix checks for "using for ... global" for libraries.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
interface I {}
|
||||
using L for I global;
|
||||
library L {
|
||||
}
|
||||
// ----
|
||||
// TypeError 8841: (15-36): Can only use "global" with user-defined types.
|
||||
Reference in New Issue
Block a user