mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix member lookup for constructor in library.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
library L{ constructor() { L.x; } }
|
||||
// ----
|
||||
// TypeError 7634: (11-33): Constructor cannot be defined in libraries.
|
||||
// TypeError 9582: (27-30): Member "x" not found or not visible after argument-dependent lookup in type(library L).
|
||||
Reference in New Issue
Block a user