blob: 87585a62188b375c80aa50ed6c648f17e6fc1d4b (
plain) (
blame)
1
2
3
4
5
6
7
|
interface I {
constructor() public;
}
// ----
// TypeError: (15-36): Functions in interfaces must be declared external.
// TypeError: (15-36): Constructor cannot be defined in interfaces.
// TypeError: (15-36): Constructor must be implemented if declared.
|