Fix constructors redeclaration message

#KT-6966 Fixed
This commit is contained in:
Denis Zharkov
2015-03-12 21:19:47 +03:00
parent 22425de5cb
commit 6c46606f2b
8 changed files with 41 additions and 1 deletions
@@ -0,0 +1,7 @@
// !DIAGNOSTICS_NUMBER: 2
// !DIAGNOSTICS: CONFLICTING_OVERLOADS
// !MESSAGE_TYPE: TEXT
fun Element(x: String) {}
class Element {
constructor(x : String) {}
}