Commit Graph

18781 Commits

Author SHA1 Message Date
Valentin Kipyatkov 6230ba7310 "casted" -> "cast" 2014-11-24 20:11:25 +03:00
Valentin Kipyatkov 3e437adbb4 Minor code improvements 2014-11-24 20:11:25 +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 b22233d378 Corrected test data for stub tests 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 992cdd9fe2 Partial body resolve: processing of standard "error" function 2014-11-24 20:11:25 +03:00
Valentin Kipyatkov ca8d45259b Partial body resolve: added a test to fail if smart-casts will become too clever 2014-11-24 20:11:25 +03:00
Valentin Kipyatkov e7ba59b209 Partial body resolve: correct handing of this qualifier 2014-11-24 20:11:24 +03:00
Valentin Kipyatkov 78e26c0cf9 Fixed partial body resolve when element to resolve is not inside body 2014-11-24 20:11:24 +03:00
Valentin Kipyatkov f56d89c487 Partial body resolve: don't be confused by exits after ?: 2014-11-24 20:11:24 +03:00
Valentin Kipyatkov e724af4b4e Partial body resolve: more efficient handling if-statements 2014-11-24 20:11:24 +03:00
Valentin Kipyatkov 0a7d73ef6b Partial body resolve: more efficient handling of loops 2014-11-24 20:11:24 +03:00
Valentin Kipyatkov 806bf3b942 Partial body resolve: more efficient handling of while 2014-11-24 20:11:24 +03:00
Valentin Kipyatkov 38c73f8df4 Partial body resolve: added test for do-while 2014-11-24 20:11:24 +03:00
Valentin Kipyatkov a89c07924d Partial body resolve: fixed bug 2014-11-24 20:11:24 +03:00
Valentin Kipyatkov e6acc5601c Partial body resolve: more efficient for-loop handling 2014-11-24 20:11:23 +03:00
Valentin Kipyatkov 5283b92269 Partial body resolve: more precise smart casts analysis for if-statement 2014-11-24 20:11:23 +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 edee61f2f5 Increase MaxPermSize for ant tasks 2014-11-24 15:41:57 +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
Nikita Skvortsov 1e9d303705 fix for KT-5420 2014-11-22 02:52:19 +03:00
Nikita Skvortsov 65946c3ded minor code style improvements 2014-11-22 02:52:18 +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 ae75c7ecd7 Update stdlib-validator after changes to AnalysisResult 2014-11-21 16:10:05 +03:00
Pavel V. Talanov ff3b3c8a6b Refactor: inline AnalyzerFacadeWithCache#getContextForElement 2014-11-21 15:56:11 +03:00
Pavel V. Talanov 67b2c32253 Minor: comment 2014-11-21 15:56:10 +03:00
Pavel V. Talanov 3afdd8bd92 Add analyzeFullyAndGetResult to ResolutionFacade 2014-11-21 15:56:10 +03:00
Pavel V. Talanov 63b402e93c Rename: JetElement#getLazyResolveSession() -> getResolutionFacade
Rename local variables and fields of type ResolutionFacade
2014-11-21 15:56:09 +03:00
Pavel V. Talanov b2ce3da99c Minor: Inline the only usage of getAnalysisResultsForElements() 2014-11-21 15:56:09 +03:00
Pavel V. Talanov cb1582fdc9 Rename: JetElement#getAnalysisResults() -> analyzeFullyAndGetResult 2014-11-21 15:56:08 +03:00
Pavel V. Talanov 1cf3938f13 Rename: JetElement#getBindingContext() -> analyzeFully 2014-11-21 15:56:07 +03:00
Pavel V. Talanov d06628945c Refactor: Introduce JetElement#analyzeAndGetResult() utility 2014-11-21 15:56:07 +03:00
Pavel V. Talanov 407c2029da Rename: getModuleDescriptorForElement -> findModuleDescriptor 2014-11-21 15:56:06 +03:00
Pavel V. Talanov 6ff647ca66 Rename: resolveToElement() -> analyze 2014-11-21 15:56:06 +03:00
Pavel V. Talanov e10461d0fa Minor: reorder functions 2014-11-21 15:56:05 +03:00
Pavel V. Talanov bce399f5fd Rename: AnalyzeExhaust -> AnalysisResult 2014-11-21 15:56:05 +03:00
Pavel V. Talanov e4670a791d Refactor: Introduce JetElement#getModuleDescriptorForElement() 2014-11-21 15:56:04 +03:00
Pavel V. Talanov 0319ef797e Refactor: Introduce DeclarationDescriptor#module utility 2014-11-21 15:56:03 +03:00
Pavel V. Talanov 96100eec1d Refactor: Introduce JetElement#resolveToElement utility 2014-11-21 15:56:03 +03:00