Commit Graph

35 Commits

Author SHA1 Message Date
Svetlana Isakova c30259dfbe added info about smart casts to diagnostic tests 2013-12-11 19:53:50 +04:00
Mikhael Bogdanov 1662c5cb75 New diagnostic error for ambiguous object expression type 2013-02-19 17:56:55 +04:00
Evgeny Gerashchenko b1cb8edd18 KT-3181 Prohibit val/var keywords for function parameters
#KT-3181
2013-02-13 18:08:36 +04:00
Svetlana Isakova 0b53bd25bd KT-2397 Prohibit final methods in traits with no implementation
#KT-2397 fixed
2012-12-29 20:08:10 +04:00
Andrey Breslav e064a50728 Error renamed 2012-11-24 15:59:17 +04:00
Andrey Breslav c849a0c4e3 Redundant/conflicting projections 2012-11-24 15:59:16 +04:00
Andrey Breslav 12fd07af08 Report an error when variance is specified for a function or property type parameter 2012-11-24 15:59:16 +04:00
Svetlana Isakova d0a6f6252d fixed: DEBUG_INFO_ERROR_ELEMENT should be visible in tests 2012-11-20 19:53:03 +04:00
Natalia.Ukhorskaya bf489c9ed8 KT-2701 Prevent redeclaration in multi-declaration
#KT-2701 Fixed
2012-10-25 19:03:36 +04:00
Svetlana Isakova 67ec48eaa6 KT-2829 Local variables used only in multi-declaration are marked as unused
#KT-2829 fixed
2012-09-26 15:17:26 +04:00
Natalia 4303083945 KT-322 Prohibit inheriting classes from enums
#KT-322 Fixed
2012-09-06 17:24:37 +04:00
Svetlana Isakova 7c828b9ff7 diagnostic tests changes after collections mapping 2012-09-05 18:55:16 +04:00
Pavel V. Talanov 22be002ef4 Remove enums inheriting from enums from test data. 2012-08-29 16:00:50 +04:00
Pavel V. Talanov 6a71d495dd Constructors for enum entries and class objects have private visibility: test data changed. 2012-08-29 15:58:19 +04:00
Svetlana Isakova ac39daace6 KT-2667 Support multi-declarations in for-loops in control flow analysis
#KT-2667 fixed
2012-08-23 14:25:13 +04:00
Svetlana Isakova f8edaad420 make modality 'FINAL' for non-class members
not depend on actual modifier since it's not legal there
2012-08-22 20:42:35 +04:00
Svetlana Isakova bac0078646 check modifiers for package declarations
removed specific errors for illegal 'abstract' modifier
2012-08-22 20:42:35 +04:00
Svetlana Isakova 4a5269bb2d set LOCAL visibility for local functions
(it can't be INHERIT)
2012-08-22 20:42:35 +04:00
Svetlana Isakova ea611cb51d check modifiers for local declarations 2012-08-22 20:42:35 +04:00
Andrey Breslav 5b77210c95 KT-2632 Check multi-declaraions in for-loops
#KT-2632 Fixed
2012-08-21 19:49:26 +04:00
Svetlana Isakova 8860bab9f1 KT-2643 Support multi-declarations in Data-Flow analysis
#KT-2643 fixed
2012-08-20 18:48:09 +04:00
Andrey Breslav ecd1c17e47 Report type mismatch for component functions 2012-08-17 22:04:35 +04:00
Andrey Breslav 306c27a9bb Report error on local variables having no initializer and no type annotation 2012-08-17 22:04:35 +04:00
Andrey Breslav 2dc6691c1a DataFlowInfo taken into account when resolving component functions 2012-08-17 22:04:35 +04:00
Andrey Breslav b44c6f2d6e Tests for redeclarations with multi-decls 2012-08-17 22:04:35 +04:00
Andrey Breslav 409e474748 Component functions are indexed 1-based 2012-08-17 22:04:35 +04:00
Svetlana Isakova a0da232ed3 KT-2631 Check multiple assignment - in progress
check multiple declaration without specified type annotation
2012-08-17 22:04:34 +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
Svetlana Isakova 8b1c76992f KT-2142 function local classes do not work
#KT-2142 fixed
except KT-2277 Check overloads for local declarations
2012-06-14 16:06:57 +04:00
Svetlana Isakova f03ce0795e KT-2096 Abstract property with no type specified causes compiler to crash
#KT-2096 fixed
2012-05-25 14:04:32 +04:00
Stepan Koltsov 3748507ac1 disable +JDK macro in JetDiagnosticsTest and fix (actually hide) revealed bugs
+JDK was not very helpful
2012-03-12 22:54:24 +04:00
Stepan Koltsov 07ff53d456 add trailing newlines to test files
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +04:00
svtk 0632f90c53 KT-1193 Check enum entry supertype 2012-02-03 20:35:29 +04:00
svtk 1ed5471341 KT-559 Forbid abstract method call through super 2012-01-27 11:48:51 +04:00
svtk fc8bc52ea2 KT-1141 No check that object in 'object expression' implements all abstract members of supertype 2012-01-26 15:22:16 +04:00