Commit Graph

44 Commits

Author SHA1 Message Date
Alexander Udalov ec30d52978 Delete Hashable, pull up its members to Any
Extensions on nullable types remain in Library.kt

 #KT-1741 Obsolete
 #KT-2805 Obsolete
 #KT-1365 Fixed
 #KT-4517 In Progress
2014-03-02 19:54:08 +04:00
Pavel V. Talanov 80183c88cf Do not normalize visibilities for fake overrides
#KT-4525 Fixed
2014-02-11 20:13:11 +04:00
Evgeny Gerashchenko ce7e0a7457 Fixed problem with overriding method with non-trivial raw type (when erased type parameter has upper bound)
Also added cases for the code which was changed.
2014-02-06 13:52:59 +04:00
Evgeny Gerashchenko cb78defa36 Considering static members when checking package-private visibility. 2014-01-14 19:13:16 +04:00
Svetlana Isakova c30259dfbe added info about smart casts to diagnostic tests 2013-12-11 19:53:50 +04:00
Andrey Breslav 69cc11d035 Existing tests updated according to "'Else' is not required in 'when' if Unit is expected" 2013-09-13 22:05:37 +02:00
Svetlana Isakova 96db2ecabd added different errors instead of ERROR_COMPILE_TIME_VALUE with different text
check type for constants in DataFlowUtils
2013-09-13 16:04:17 +04:00
Svetlana Isakova c739632c57 report 'ambiguity' on reference, not on the whole expression
as other type inference errors
2013-09-03 13:09:15 +04:00
Evgeny Gerashchenko 5c8f87658a Made SAM adapters final. 2013-07-12 21:09:22 +04:00
Andrey Breslav 8d65613eed Create <out Any?> projections for raw Java types, not <*>
KT-3760 Internal compiler error with Java interoperability and ElasticSearch 0.90.2 (IllegalStateException, Type parameter descriptor in not initialized: T declared in ...)
 #KT-3760 Fixed

EA-44150 Type parameter descriptor in not initialized. Fixed
2013-07-10 08:28:47 +04:00
Evgeny Gerashchenko 1f2676becd Ignoring SAM adapters when checking for unimplemented methods or methods to override. 2013-06-25 20:17:45 +04:00
Evgeny Gerashchenko cfc99b941a Added test for ambiguous SAM adapters within one class. 2013-06-25 20:16:20 +04:00
Evgeny Gerashchenko fd2d5975e4 Fixed useless hidden import & useless simple import diagnostics when Java class is resolved as both class and namespace. 2013-03-12 20:40:18 +04:00
Andrey Breslav 109c47645b Make sure that the class object class is not accessible from Kotlin 2013-02-11 16:20:32 +04:00
Andrey Breslav 0b4b87fc3a KT-3307 Compiler exception trying to call Java method
#KT-3307 Fixed
2013-02-07 16:44:13 +04:00
max-kammerer 41b379497d revert of 59ede8b 2013-02-06 14:33:19 +04:00
max-kammerer 59ede8b979 Test for KT-2763 2013-02-06 14:15:24 +04:00
Andrey Breslav 1a03850951 A test for K-J-K inheritance with generics 2013-01-15 15:32:04 +04:00
Andrey Breslav d4854c22c4 A test for K-J-K inheritance 2013-01-15 15:32:04 +04:00
Pavel V. Talanov 293b272a22 Fix for a problem where inner (or nested) classes were not analyzed in some situations
# KT-3124 Fixed
2013-01-09 18:38:58 +04:00
Pavel V. Talanov 59e74e79c2 Test for KT-2619
Remove outdated check in WhenChecker

# KT-2619 fixed
2012-11-23 17:18:09 +04:00
Pavel V. Talanov 997e26d11e Test for KT-2890
# KT-2890 can't reproduce
2012-11-23 17:17:42 +04:00
Pavel V. Talanov 5fa069bebd Test for KT-2152
# KT-2152 can't reproduce
2012-11-23 17:17:03 +04:00
Andrey Breslav 5eaa5b396b Removing usages of tuples from test data
(KT-2358 Drop tuples)
 #KT-2358 In progress
2012-09-18 20:27:09 +04:00
Svetlana Isakova b2b3d6273e improved test 2012-09-10 20:15:20 +04:00
Svetlana Isakova cd5521d6dc rename error 2012-09-07 19:03:07 +04:00
Svetlana Isakova 7c828b9ff7 diagnostic tests changes after collections mapping 2012-09-05 18:55:16 +04:00
Svetlana Isakova 726bcb5465 KT-2606 Filter java.util.* import
#KT-2606 fixed
 added FilteringScope
2012-09-05 18:55:16 +04:00
Svetlana Isakova d642d2266b KT-2641 Warn on using j.l.Iterable in Kotlin code
#KT-2641 fixed
2012-09-05 18:55:16 +04:00
Svetlana Isakova 0dcdaccad1 KT-2640 Provide jet.MutableIterator and jet.MutableIterable
#KT-2640 fixed
2012-08-24 15:07:24 +04:00
Svetlana Isakova d2e33c8900 tests for obsolete/fixed issues
#KT-1038 fixed
 #KT-1127 fixed
 #KT-1145 fixed
 #KT-1410 fixed
 #KT-1718 fixed
 #KT-2286 fixed
 #KT-1431 fixed
 #KT-2394 fixed
2012-08-16 18:39:24 +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 0fd882741b function invocation with only type parameters prohibited 2012-05-23 22:04:22 +04:00
Stepan Koltsov f061fce9a8 properly read vararg signature from java code
KT-1694 Java vararg override, Why is it intuitive interface?

#KT-1694 Fixed
2012-05-12 22:21:09 +04:00
Stepan Koltsov e303c80868 add missing test for KT-1880
(hide static members from superclasses)
2012-05-10 18:56:18 +04:00
Andrey Breslav 08de6d8d07 KT-1863 Wrong nullability for class derived from java classes.
#KT-1863 In progress
2012-04-28 23:13:41 +04:00
Svetlana Isakova 7863b1398e Resolve invisible references and mark them 'invisible' instead of mark them 'unresolved' 2012-04-05 18:36:46 +04:00
Svetlana Isakova 0ec24f5e3d test fix 2012-04-04 19:02:26 +04:00
Svetlana Isakova 2c0cee61fa Added 'package' visibility for Java descriptors 2012-04-04 19:02:26 +04:00
Andrey Breslav dd9c36387c KT-987 Unboxing nulls
#KT-987 Fixed
2012-03-26 11:42:34 +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
Svetlana Isakova e9a7a909f6 KT-1402 Create new Kotlin object from a Java public static inner class 2012-03-07 12:09:03 +04:00
Stepan Koltsov cac3311f1a fix JetDiagnosticsTest j+k 2012-03-01 05:32:03 +04:00
Stepan Koltsov 92c69b6826 JetDiagnosticsTest: java+kotlin 2012-02-29 22:33:53 +04:00