Fix tests regarding contract type conversion.

This commit is contained in:
chriseth
2018-08-01 11:04:35 +01:00
committed by Alex Beregszaszi
parent c8232d9759
commit b800bfb021
18 changed files with 37 additions and 36 deletions
@@ -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.