Commit Graph

468 Commits

Author SHA1 Message Date
Stepan Koltsov bb0cf4f92f JetDiagnosticsTest: diamond with generics 2012-02-09 19:04:17 +04:00
Stepan Koltsov 7ad452109f split SuperGenTest.basicmethod 2012-02-09 18:39:10 +04:00
svtk 255e37efb9 KT-799 Allow 'return' expressions in conditionals assigned to variables 2012-02-09 12:58:17 +04:00
Evgeny Gerashchenko cf5f419549 Added parser test for ide templates. 2012-02-08 21:12:42 +04:00
Evgeny Gerashchenko 7bbc121f72 Fixed parser test. 2012-02-08 16:13:25 +04:00
Evgeny Gerashchenko bc9f67b6e2 Made parser aware of object literals in statement position (they were parsed as object declarations) 2012-02-08 15:58:08 +04:00
Stepan Koltsov 0c821f947d split diagnostics/Override.jet test 2012-02-08 00:55:43 +04:00
Stepan Koltsov ba15b59ff5 add missing JDK classes to mockJDK
java.lang.Appendable and several others
2012-02-04 12:49:35 +04:00
Stepan Koltsov 5dfcda80c0 Test never worked. Mark it pending for convenience. 2012-02-04 12:15:23 +04:00
Stepan Koltsov 9015ce29c2 diamond inheritance in JetDiagnosticsTest 2012-02-04 11:59:57 +04:00
Stepan Koltsov 3623c7fc59 OverrideFunctionWithParamDefaultValue test in JetDiagnosticsTest 2012-02-04 11:59:54 +04:00
svtk 0632f90c53 KT-1193 Check enum entry supertype 2012-02-03 20:35:29 +04:00
Andrey Breslav 649a639bba Test for
KT-274  Add Enumeration.iterator () method in global namespace
2012-02-03 15:04:14 +04:00
Andrey Breslav abd0932dfe Test for
KT-274  Add Enumeration.iterator () method in global namespace
2012-02-03 15:00:55 +04:00
svtk 75f1f06862 test for KT-1028 2012-02-03 13:14:50 +04:00
svtk 34ee879094 KT-1189 StackOverflow in ide 2012-02-03 13:14:28 +04:00
svtk 6251b413a2 New check rules for inc, plus & plusAssign
KT-1176 arrayList[0]++. Setter is stored for array access expression when it's needed
2012-02-03 12:10:12 +04:00
svtk db07a33d59 Added reference to array set method for expression like 'array[0]++' 2012-02-03 12:10:12 +04:00
svtk 1cb4c89c5c Mark only brackets when array access expression is unresolved 2012-02-03 12:10:12 +04:00
Stepan Koltsov e075bec4c0 JavaDescriptorResolver refactoring
* kill JavaDescriptorResolver.typeParameterDescriptorCache
* use ClassOrNamespaceDescriptor instead of DeclarationDescriptor

Code is a bit ugly now, but simpler than before.
2012-01-31 22:48:55 +04:00
Stepan Koltsov c88940c07c split diagnostics/alt-headers test 2012-01-31 22:22:39 +04:00
Andrey Breslav 6f97101810 A new test for alt-headers 2012-01-31 11:41:41 +04:00
Andrey Breslav b257ad4fa0 Temporarily revert to debug the tests 2012-01-30 22:25:08 +04:00
Andrey Breslav 7a7db291cc Test fixed (nullability) 2012-01-30 22:12:03 +04:00
Alex Tkachman 92ef6aed77 local functions used inside closures 2012-01-30 16:05:08 +02:00
svtk 1d71e820bb KT-1185 Support full enumeration check for 'when' 2012-01-30 13:39:44 +04:00
Alex Tkachman c62bbdc5df local functions 2012-01-29 16:20:05 +03:00
Alex Tkachman b3279a6ad5 test for KT-1170 2012-01-28 02:53:06 +03:00
Alex Tkachman 4b4d84d485 KT-1168 don't use direct fields from non-final properties 2012-01-28 00:56:05 +03:00
Alex Tkachman c83d70b856 KT-1165 right type for default property setter 2012-01-27 23:59:59 +03:00
Alex Tkachman 686d4cae3c postfix part of KT-471 2012-01-27 23:11:14 +03:00
svtk 11ad28812d KT-1175 Mark unused literals 2012-01-27 18:32:55 +04:00
Alex Tkachman 51e4fc986a KT-1157 class object instance access from constructor of class object 2012-01-27 15:40:17 +03:00
Stepan Koltsov bfb1b6e7b5 read kotlin supertypes in JavaDescriptorResolver
+ tests
+ remove jet.Any from supers
2012-01-27 14:25:55 +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
Andrey Breslav 92e496c43b Constructors for Java annotations 2012-01-26 13:43:46 +04:00
svtk 7678815f17 KT-1156 Throwing exception on the right side of elvis operator marks code unreachable 2012-01-26 12:58:14 +04:00
Alex Tkachman 020fdfddb9 fixing broken tests (after adding special handling for CharSequence) for class reading 2012-01-26 08:48:24 +02:00
Stepan Koltsov 4545c72f69 properly serialize/parse Nothing type 2012-01-25 22:23:46 +04:00
Andrey Breslav 91337b8d9c Basic annotations on classes 2012-01-25 20:37:59 +04:00
Andrey Breslav 3130580d59 Test fixed 2012-01-25 20:12:28 +04:00
Andrey Breslav f8123e5fb3 Basic support for Java and Kotlin annotations 2012-01-25 19:35:42 +04:00
Andrey Breslav a5bd1c069f KT-913 Weird errors attempting to declare ArrayList of function type
KT-507  Wrong parsing of generic constructor calls with qualified names and functions
2012-01-25 18:50:44 +04:00
Alex Tkachman 1154d3dd98 improved test for KT-1136 2012-01-25 13:32:06 +02:00
Alex Tkachman 4633e1c7f4 KT-1136 proper generation of accessors 2012-01-25 13:29:16 +02:00
svtk c9cba3e1cc KT-939 CommonSupertypes erases scopes associated to types 2012-01-25 13:53:07 +04:00
Andrey Breslav 408b91e43d KT-1130 Remove ref from keywords 2012-01-25 13:13:38 +04:00
Andrey Breslav 90b98a63b5 KT-1130 Remove ref from keywords 2012-01-25 13:12:42 +04:00
Stepan Koltsov 309b6b3e0e fix erased parameters codegen and parsing 2012-01-24 23:11:14 +04:00