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
Svetlana Isakova
5d0f004292
Fix for 'if' special construct type
...
If one branch has Nothing type (contains 'return', etc.),
return result type of corresponding resolved call (it may depend on smart casts)
#KT-6242 Fixed
2014-11-21 14:02:42 +03:00
Svetlana Isakova
36fd8a1a08
Set the right call operation node for implicit invoke
...
Make a call for implicit invoke safe if an outer call is safe
2014-11-21 14:02:42 +03:00
Svetlana Isakova
7f62675665
Fixed error reporting for special constructions (if, elvis)
...
Track whether an error was reported for sub expressions (like 'if' branches) or it should be reported for the whole expression
#KT-6189 Fixed
2014-11-21 14:02:42 +03:00
Svetlana Isakova
8109b1f997
DONT_CARE placeholder can be nullable after a substitution
...
Interpret it as DONT_CARE as well (not as an error type where an error was generated before)
#KT-6175 Fixed
2014-11-21 14:02:41 +03:00
Svetlana Isakova
8ad017c071
Extracted 'deparenthesizeArgument', used it where necessary
...
#KT-6176 Fixed
2014-11-21 14:02:41 +03:00
Michael Bogdanov
e2826a47e1
Remove "operation" method from StackValue.kt;
...
Compilation fix: remove static import to kotlin from AsmUtil
2014-11-21 13:59:44 +03:00
Michael Bogdanov
3a70992d27
Lazy intrinsic generation
...
#KT-6241 Fixed
2014-11-21 13:59:43 +03:00
Michael Bogdanov
4812564441
Intrinsic receiver parameter annotated with NotNull
2014-11-21 13:59:43 +03:00
Michael Bogdanov
afceec427d
Intrinsic arguments parameter annotated with NotNull
2014-11-21 13:59:43 +03:00
Natalia Ukhorskaya
d85b3c15d8
Fix Android tests
2014-11-21 12:41:16 +03:00
Michael Bogdanov
21d5785986
Inline StackValueWithSimpleReceiver utility constructor
2014-11-20 10:20:34 +03:00