Commit Graph

11915 Commits

Author SHA1 Message Date
Svetlana Isakova f0bb41ba50 resolve default values for parameters for local functions
moved method 'resolveValueParameters'

#KT-3978 In progress
2013-09-13 16:04:17 +04:00
Svetlana Isakova 4b023742c6 added AnnotationResolver reference to ExpressionTypingServices
injectors generated
2013-09-13 16:04:17 +04:00
Svetlana Isakova 298d344c31 check constants with Unit return type as usual 2013-09-13 16:04:17 +04:00
Svetlana Isakova b6386e345c added positioning for 'ILLEGAL_ESCAPE' error 2013-09-13 16:04:17 +04: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 d556ceedc1 rename 2013-09-13 16:04:17 +04:00
Svetlana Isakova a11ad384a2 removed unused methods 2013-09-13 16:04:17 +04:00
Svetlana Isakova 5f189a8c0f KT-3833 Invoke method not working inside class object?
#KT-3833 Fixed
2013-09-13 16:04:17 +04:00
Zalim Bashorov d50f65634a Register ProjectRootModificationTracker as NEVER_CHANGE in StandaloneJavaToKotlinConverterTest. 2013-09-13 14:38:39 +04:00
Zalim Bashorov d0172ebdc2 Fixed bug in TypeConversionUtil#getAllBoxedTypeSupers which created CachedValueProvider.Result with null as dependency because the ProjectRootModificationTracker service was not registered.
Register ProjectRootModificationTracker as NEVER_CHANGE in JavaToKotlinTranslator.
2013-09-13 13:06:52 +04:00
Alexey Sedunov 4027454b64 Add read lock for class usage search 2013-09-12 17:14:00 +04:00
Evgeny Gerashchenko 58d430bddc Renamed method. 2013-09-12 15:24:23 +04:00
Evgeny Gerashchenko 16334c58aa Removed duplicating method. 2013-09-12 15:24:23 +04:00
Evgeny Gerashchenko 53c832d88c Correctly resolving all references in library source.
Added test with stdlib.

Ignoring top-level members from library source to avoid ambiguity. Resolving classes from source when deserializing descriptors (for unification).
2013-09-12 15:24:23 +04:00
Evgeny Gerashchenko e4d8e4d61b Not ignoring other properties in scope.
First one (almost randomly) was chosen instead of ambiguity.
2013-09-12 14:58:58 +04:00
Evgeny Gerashchenko 48e96aece3 Simplified code. 2013-09-12 14:58:58 +04:00
Evgeny Gerashchenko cdbbacaf1c Minor. Renamed local variable. 2013-09-12 14:58:58 +04:00
Evgeny Gerashchenko 3f89598f14 Minor. Made method @NotNull. 2013-09-12 14:58:57 +04:00
Evgeny Gerashchenko 3b26af6ae2 Minor. Reused constant. 2013-09-12 14:58:57 +04:00
Evgeny Gerashchenko a9acc346e5 Removed obsolete action disabling error highlighting. 2013-09-12 14:58:57 +04:00
Evgeny Gerashchenko 95adbeddd2 Added semantic and debug highlighting in library sources. 2013-09-12 14:58:57 +04:00
Natalia.Ukhorskaya 188e8b983e Missed sdk annotations for Android Sdk
#KT-3965 Fixed
2013-09-12 11:38:46 +04:00
Nikolay Krasko 22a328e41f Extract verifier url to property 2013-09-11 18:49:02 +04:00
Nikolay Krasko 063ae58d6c Remove unused verifier dependency 2013-09-11 18:38:34 +04:00
Nikolay Krasko 4f482a88b4 Use basedir as default folder for downloading to be conform with .gitignore 2013-09-11 18:37:47 +04:00
Nikolay Krasko 0f5c085f7f Re-enable verify for kotlin plugin 2013-09-11 17:41:23 +04:00
Nikolay Krasko d10b267035 Update version of verifier 2013-09-11 17:32:51 +04:00
Nikolay Krasko 053fc31021 Simplify running verify locally and remove errors. 2013-09-11 16:42:08 +04:00
Nikolay Krasko e4c1fe7c3a Report unsupported annotations for local variables 2013-09-11 12:01:34 +04:00
Nikolay Krasko 828d57c2be Annotation on object test 2013-09-11 12:01:33 +04:00
Nikolay Krasko 08b8f56740 Fix rewrite for ANNOTATION slice (EA-49336) 2013-09-11 12:01:32 +04:00
Nikolay Krasko 8c53d19452 Remove unresolve 'erased' annotation 2013-09-11 12:01:31 +04:00
Nikolay Krasko 0452706727 Don't add debug highlighting for references in unsupported elements 2013-09-11 12:01:30 +04:00
Nikolay Krasko 6eb0111e21 Fix NCDFE (EA-49630) 2013-09-11 12:01:29 +04:00
Nikolay Krasko 7da850bd44 "Wrong line separators" exception (EA-47594) 2013-09-11 12:01:29 +04:00
Nikolay Krasko 9778839d96 Refactorings: remove warnings 2013-09-11 12:01:28 +04:00
Pavel V. Talanov 255f08c8d7 Do not include DescriptorDeclaration#toString() in debug message
DescriptorDeclaration#toString() can be a costly operation (default implementation completely renders descriptor)
2013-09-10 17:42:54 +04:00
Pavel V. Talanov a1b397ee2d Test for invoking "Override methods" for fake override from library 2013-09-10 13:19:07 +04:00
Pavel V. Talanov e2cbfd8055 Fix navigation to compiled overridden descriptors 2013-09-10 13:18:29 +04:00
Pavel V. Talanov 1874942cd2 Log instead of assertion in OverrideImplementMethodsHandler 2013-09-10 13:18:28 +04:00
Pavel V. Talanov 3daa66424b Extract method for finding declarations for descriptor without trace
Use it where appropriate
2013-09-10 13:17:15 +04:00
Pavel V. Talanov e4b2e32827 Return error class in case we are not able to find class for object property 2013-09-10 13:15:30 +04:00
Pavel V. Talanov 2e823d6b7b Introduce ErrorClassDescriptor
Add utility which allows to create error class descriptors with debug message
2013-09-10 13:14:47 +04:00
Pavel V. Talanov 217312ab78 Continue to look for descriptors if IGNORE_KOTLIN_SOURCES was passed as DescriptorSearchRule
Add comment to DesriptorSearchRule explaining why we should get rid of it asap
Remove useless code from DesriptorSearchRule
2013-09-10 13:14:46 +04:00
Alexander Udalov f700266b11 Don't produce run configurations for files out of source roots
#KT-3973 Fixed
2013-09-06 23:26:27 +04:00
Alexander Udalov f63e3da594 Replace LOG.error with LOG.warn when reading classfile with ASM
We don't care much if some corrupt file appears to be in our classpath
2013-09-06 23:26:27 +04:00
Alexander Udalov c0a4d8d24f Support Class<?> as annotation arguments in java 2013-09-06 23:26:27 +04:00
Alexander Udalov b8f9ef9910 Extract interface out of TypeVariableResolver
Also make getTypeVariable() nullable: when a type is not found, it's better to
use error type instead of throwing an exception
2013-09-06 23:26:26 +04:00
Alexander Udalov ccff9e38fe Rename LoadJava annotations test data 2013-09-06 23:26:26 +04:00
Alexander Udalov 5805598306 Replace hard exceptions with LOG.error 2013-09-06 23:26:26 +04:00