Commit Graph

9590 Commits

Author SHA1 Message Date
Denis Zharkov 02be1063c1 Do not report a warning on an inline function with a reified parameter
#KT-6273 Fixed
2014-11-27 13:49:17 +04:00
Denis Zharkov f7d1bc5931 Diagnostics test: array creation of non-reified TP
#KT-1370 Fixed
2014-11-27 13:49:17 +04:00
Svetlana Isakova 724f2e6e7b KT-6081 Chained generic method calls: wrong type inference
#KT-6081 Fixed
2014-11-27 02:28:10 +03:00
Alexey Sedunov 5c4dd75110 Light Methods: Change PSI element language to Kotlin 2014-11-26 13:07:34 +03:00
Alexey Sedunov 1008225116 Change Signature: Processing of non-Kotlin usages
#KT-5810 Fixed
 #KT-4187 Fixed
2014-11-26 13:07:33 +03:00
Alexey Sedunov ddccc0e640 Change Signature: Update enum entries w/o delegation specifier when changing signature of enum class constructor
#KT-5978 Fixed
2014-11-26 13:07:29 +03:00
Alexander Udalov a6d759ff96 Minor, add test for obsolete issue
#KT-3587 Obsolete
2014-11-25 23:16:56 +03:00
Alexander Udalov 3a066dfd07 Rename "context" -> "c" in deserialization for brevity 2014-11-25 23:16:27 +03:00
Alexander Udalov 1f68c94ce6 Fix several bugs in serialization of inner generic classes
- Interner was working incorrectly with parents
- nested classes were serialized in codegen out of any context

 #KT-5660 Fixed
2014-11-25 23:16:26 +03:00
Alexander Udalov 36c65e4264 Minor, drop strange method from SerializerExtension 2014-11-25 23:16:26 +03:00
Alexander Udalov 60662e5831 Fix double laziness of annotations introduced in 149a90d 2014-11-25 23:16:21 +03:00
Alexander Udalov 07c3a07ecb Make DeserializedType a static nested class 2014-11-25 23:15:49 +03:00
Alexander Udalov 5907df92db Drop secondary DeserializedPackageMemberScope constructor
Create package context only once
2014-11-25 23:15:49 +03:00
Alexander Udalov e1a1c06c3e Rename deserialization context for Java to "components"
Simplify its injection to DeserializedDescriptorResolver
2014-11-25 23:15:49 +03:00
Alexander Udalov 673c15a23d Simplify component injection in annotation/constant loaders 2014-11-25 23:15:48 +03:00
Alexander Udalov 149a90d7bf Make annotations on deserialized descriptors truly lazy 2014-11-25 23:15:47 +03:00
Alexander Udalov 4df7cb4e72 Major refactoring of deserialization contexts: merge two into one 2014-11-25 23:15:47 +03:00
Alexander Udalov cb5c21e831 Merge DeserializationGlobalContext with DeserializationComponents 2014-11-25 23:15:47 +03:00
Andrey Breslav 2a334fc8f5 Support JS-targeted diagnostic tests 2014-11-25 18:45:43 +03:00
Nikolay Krasko 722624f0a4 Add test about platform static checks in ide 2014-11-25 17:16:15 +03:00
Valentin Kipyatkov 32a13502c5 Fixed one of the cases with lambda's returning Nothing 2014-11-24 20:11:29 +03:00
Valentin Kipyatkov d334011d5d Renamed firstOrNullIsInstance 2014-11-24 20:11:28 +03:00
Valentin Kipyatkov ddc60ac5dd Better injecting of partial body resolve filter 2014-11-24 20:11:28 +03:00
Valentin Kipyatkov cd90ab951f Partial body resolve tests: more informative test output 2014-11-24 20:11:27 +03:00
Valentin Kipyatkov 00d9c94a8b Changed way to pass statementFilter from ElementResolver into ExpressionTypingServices 2014-11-24 20:11:26 +03:00
Valentin Kipyatkov a0c9c0e7b2 Added firstOrNullIsInstance and firstIsInstance methods 2014-11-24 20:11:26 +03:00
Valentin Kipyatkov 8010c0f09d Partial body resolve works for local Nothing functions + does not go inside local functions and classes 2014-11-24 20:11:25 +03:00
Valentin Kipyatkov 3b77d337e8 Renames "possibly nothing" to "probably nothing" 2014-11-24 20:11:25 +03:00
Valentin Kipyatkov e5579bcf32 Partial body resolve: to take source Kotlin callables with Nothing type from caches 2014-11-24 20:11:25 +03:00
Valentin Kipyatkov a675b5ba38 Basic implementation of partial body resolve 2014-11-24 20:11:23 +03:00
Nikolay Krasko 9809e4fd0a Replace direct usages of TopDownLazyResolveForJava with facade 2014-11-24 19:19:35 +03:00
Nikolay Krasko 92d6ac7e7c Rewrite to Kotlin: LockBasedLazyResolveStorageManager 2014-11-24 19:19:32 +03:00
Nikolay Krasko 2800ab4a12 Rewrite to Kotlin (file rename): LockBasedLazyResolveStorageManager 2014-11-24 19:19:29 +03:00
Nikolay Krasko a456f9d22e Add ability to create memoized functions with custom maps
- Remove cast in ResolveSession class
2014-11-24 19:19:14 +03:00
Stanislav Erokhin 4c0befbfe9 Remove unnecessary lazy value 2014-11-24 15:38:58 +03:00
Stanislav Erokhin 7fa93c4e90 Added support space symbols for diagnostic parameters in DiagnosticTest 2014-11-24 15:38:56 +03:00
Michael Bogdanov 8fc3a37989 Fix for KT-6312: Compiler crashes accessing inherited property of class object
#KT-6312 Fixed
2014-11-24 13:10:59 +03:00
Andrey Breslav 08ad4bec64 More information when no containing field found 2014-11-21 19:03:00 +03:00
Andrey Breslav 93a409d459 Rendering for resolution candidates 2014-11-21 19:02:47 +03:00
Andrey Breslav b109a34651 Common formatting extracted 2014-11-21 18:59:45 +03:00
Andrey Breslav 0eee83b6ec Lazy logs removed 2014-11-21 18:59:45 +03:00
Andrey Breslav 4112b2de5f Disable lazy log checking by default 2014-11-21 18:59:44 +03:00
Pavel V. Talanov bce399f5fd Rename: AnalyzeExhaust -> AnalysisResult 2014-11-21 15:56:05 +03:00
Pavel V. Talanov 0319ef797e Refactor: Introduce DeclarationDescriptor#module utility 2014-11-21 15:56:03 +03:00
Pavel V. Talanov 1991f0119e Convert AnalyzeExhaust to Kotlin and make it a data class 2014-11-21 15:55:59 +03:00
Svetlana Isakova b71260f54e Moved tests
that are used both for codegen & diagnostics to codegen/box/diagnostics
2014-11-21 14:02:45 +03:00
Svetlana Isakova 2a83053355 Updated lazy log tests 2014-11-21 14:02:45 +03:00
Svetlana Isakova 9cd5f51b88 Added test for KT-4711
Error type with no error reported from type inference
 #KT-4711 Fixed
2014-11-21 14:02:43 +03:00
Svetlana Isakova 2948ca9077 Fixed argument for error message 'TYPE_PARAMETER_AS_REIFIED' 2014-11-21 14:02:43 +03:00
Svetlana Isakova 0719297d8f Uncommented test when extensions are called for nested calls 2014-11-21 14:02:42 +03:00