Unify reporting resolution errors for empty delegation calls

- Always report "There is no applicable constructor for call without arguments in superclass"
  under `constructor` keyword by replacing default TracingStrategy
- Remove positioning strategy used for reporting non-applicable
  for empty delegation calls

 #KT-6971 Fixed
This commit is contained in:
Denis Zharkov
2015-03-23 10:56:23 +03:00
parent 683bc4709f
commit 7aa2642a2b
11 changed files with 318 additions and 18 deletions
@@ -6,5 +6,5 @@ open class B(x: Double) {
trait C
class A : B, C {
constructor(): <!NONE_APPLICABLE!>super<!>(' ')
<!NONE_APPLICABLE!>constructor<!>(x: Int)
<!EXPLICIT_DELEGATION_CALL_REQUIRED!>constructor<!>(x: Int)
}