Natalia.Ukhorskaya
dd3323cae2
Fixed KT-2418 Front-end allows enum constants with same name
2012-08-31 11:16:35 +04:00
Natalia.Ukhorskaya
1ef8818556
Front-end: Prohibit to create inner class with the same name as a property
2012-08-31 11:15:57 +04:00
Pavel V. Talanov
fa1c471d92
Partial fix for KT-470: Remove duplicating errors on the same element.
...
Redeclarations for top-level properties still get two REDECLARATION diagnostics. (In overload resolver and declaration resolver)
Also added test for redeclaring extension properties.
Also remove useless null check.
2012-07-26 13:11:38 +04:00
Alexander Udalov
4712dd759c
KT-2438 Prohibit inner classes with the same name
...
Rewrite checkClassObjectInnerClassNames() to also
check for name clashes between inner classes of a
single class
#KT-2438 Fixed
2012-07-24 16:25:17 +04:00
Alexander Udalov
eeacfb96a3
KT-2247 Report name clashes between inner classes and members of class object
...
#KT-2247 Fixed
2012-07-19 17:56:51 +04:00
Andrey Breslav
3d8d92c7d3
JetDiagnosticsTest migrated to TestGenerator
...
- test data files renamed from *.jet to *.kt
2012-07-10 14:48:11 +04:00
Andrey Breslav
320241d107
Proper error reporting when a package name redeclares something, wrt the package name occurring in multiple files
...
See MultiFilePackageRedeclaration.jet test
2012-03-29 16:18:42 +04:00