mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix tests regarding contract type conversion.
This commit is contained in:
committed by
Alex Beregszaszi
parent
c8232d9759
commit
b800bfb021
+2
-1
@@ -7,6 +7,7 @@ contract B {
|
||||
}
|
||||
}
|
||||
contract A {
|
||||
constructor(address) public {}
|
||||
constructor(address) internal {}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (141-146): Contract with internal constructor cannot be created directly.
|
||||
|
||||
Reference in New Issue
Block a user