Only suggest removing parentheses from a construction call if they're empty

This commit is contained in:
Kamil Śliwak
2023-02-15 14:27:03 +01:00
parent 73183d3df9
commit 1a981af548
7 changed files with 11 additions and 11 deletions
@@ -6,5 +6,5 @@ contract Derived2 is Base {
constructor() Base(2) { }
}
// ----
// TypeError 7927: (67-74): Wrong argument count for constructor call: 1 arguments given but expected 2. Remove parentheses if you do not want to provide arguments here.
// TypeError 7927: (67-74): Wrong argument count for constructor call: 1 arguments given but expected 2
// TypeError 2973: (123-130): Wrong argument count for modifier invocation: 1 arguments given but expected 2.