Svetlana Isakova
a6bfa1ff6c
rename isFunctionType -> isFunctionOrExtensionFunctionType
...
added isFunctionType, isExtensionFunctionType
2012-12-27 18:40:01 +04:00
Svetlana Isakova
21f6d1630d
rename local var constraintsSystem -> constraintSystem
2012-12-27 18:40:01 +04:00
Natalia.Ukhorskaya
00ef0fc0a6
JUnit4: test function annotated with 'test' annotation
...
#KT-3178 Fixed
2012-12-27 15:43:57 +04:00
Natalia.Ukhorskaya
e9d1171d6d
Fix VerifyError for enum constructor with default arguments
2012-12-27 12:29:09 +04:00
Natalia.Ukhorskaya
beec5a843e
Remove duplicate in GenerateTests
2012-12-27 12:29:07 +04:00
Natalia.Ukhorskaya
808c5abc0f
Generate constructor without parameters if primary constructor has only parameters with default values
...
#KT-3085 Fixed
2012-12-27 12:29:06 +04:00
Natalia.Ukhorskaya
d4a8ed5ae6
Minor refactoring in tests
2012-12-27 12:29:05 +04:00
Natalia.Ukhorskaya
f0d52e63b2
Don't resolve kotlin constructors from bytecode without JetConstructorAnnotation
2012-12-27 12:29:03 +04:00
Natalia.Ukhorskaya
f4a44155d9
Extract method
2012-12-27 12:29:02 +04:00
Natalia.Ukhorskaya
538aa869b4
Constructor with default arguments for inner class
...
#KT-2852 Fixed
2012-12-27 12:29:01 +04:00
Nikolay Krasko
93b7e9add9
KT-1968 Double closing parentheses entered when completing unit function
...
#KT-1968 Fixed
2012-12-26 21:24:25 +04:00
Nikolay Krasko
9b9e338131
Publish both kotlin and kannotator plugins
2012-12-26 21:24:24 +04:00
Svetlana Isakova
70cde87052
checking subtype for invariant type with error generic argument may success
2012-12-26 18:58:57 +04:00
Svetlana Isakova
38cc3e39e4
test for obsolete KT-2741
...
#KT-2741 obsolete
2012-12-26 18:01:23 +04:00
Svetlana Isakova
4dc51901ba
changed groupBy method signature (in standard library)
2012-12-26 17:05:08 +04:00
Svetlana Isakova
a299cec2eb
KT-3174 Call resolver doesn't understand type is not-nullable after ?. safe call
...
#KT-3174 fixed
2012-12-26 16:43:59 +04:00
Svetlana Isakova
9b645589df
KT-2838 Type inference failed on passing null as a nullable argument
...
#KT-2838 fixed
2012-12-26 14:38:53 +04:00
Svetlana Isakova
6208bdb6da
rename (swap SUB_TYPE and SUPER_TYPE)
2012-12-26 14:18:21 +04:00
Svetlana Isakova
e6594ed5b1
KT-2883 Type inference fails due to non-Unit value returned
...
#KT-2883 fixed
2012-12-26 13:53:42 +04:00
Svetlana Isakova
54dffd6aad
tests for obsolete tasks
...
#KT-3007 obsolete
#KT-3038 obsolete
2012-12-26 13:01:48 +04:00
Svetlana Isakova
b8507c0391
refactoring: extracted methods
...
createValueParameterDescriptor, computeReturnType, computeUnsafeReturnType
2012-12-25 20:25:36 +04:00
Svetlana Isakova
122c2cbefb
refactoring: extracted getValueParametersTypes
2012-12-25 19:46:27 +04:00
Svetlana Isakova
b0302246a0
HtmlTabledDescriptorRendererTest renamed to DiagnosticMessageTest
2012-12-25 19:12:01 +04:00
Svetlana Isakova
93fd2bf10f
RENDER_COLLECTION_OF_TYPES changed
2012-12-25 19:12:01 +04:00
Svetlana Isakova
76a62d8b7d
added PLACEHOLDER_FUNCTION_TYPE tests
2012-12-25 19:12:01 +04:00
Svetlana Isakova
f5e8766600
removed unused equalsOrContainsAsArgument method
2012-12-25 19:12:01 +04:00
Svetlana Isakova
4089ac68bd
improved error reporting
...
when error type is a generic parameter
2012-12-25 19:12:01 +04:00
Svetlana Isakova
19e6b02da8
CANNOT_INFER_PARAMETER_TYPE reporting improvement
2012-12-25 19:12:01 +04:00
Svetlana Isakova
2077faa76a
no ambiguity when overloading with different function type
...
(in incomplete resolve)
2012-12-25 19:12:01 +04:00
Svetlana Isakova
4c241b1234
refactoring: extracted method renderTypeWithoutEscape
2012-12-25 19:12:01 +04:00
Svetlana Isakova
16fa729c74
more readable rendering for special type constants
2012-12-25 19:12:01 +04:00
Svetlana Isakova
c37d7352a5
improved reporting TYPE_MISMATCH error for function literals
...
(introduced EXPECTED_PARAMETER_TYPE_MISMATCH, EXPECTED_RETURN_TYPE_MISMATCH, EXPECTED_PARAMETERS_NUMBER_MISMATCH
instead of reporting TYPE_MISMATCH on the whole function literal)
2012-12-25 19:12:00 +04:00
Svetlana Isakova
972b234db6
KT-3150 Kotlin m4 don't recognize function literals
...
#KT-3150 fixed
added check for PLACEHOLDER_FUNCTION_TYPE to constraint system
2012-12-25 19:12:00 +04:00
Svetlana Isakova
b467638633
move constants to util
...
use DON_CARE instead of PLACEHOLDER_FUNCTION_PARAMETER_TYPE
2012-12-25 19:12:00 +04:00
Evgeny Gerashchenko
ce02c3e058
Removed unused code from NamespaceComparator.
2012-12-25 15:20:57 +04:00
Evgeny Gerashchenko
e3a30b10a9
Not writing fake parameters of enum constructors to generic signature.
2012-12-25 15:20:57 +04:00
Evgeny Gerashchenko
2daf9a10d0
Renamed test methods.
2012-12-20 19:26:52 +04:00
Evgeny Gerashchenko
e49459f2cd
Accelerated navigation to library tests by compiling test library once.
2012-12-20 18:48:48 +04:00
Evgeny Gerashchenko
e131cc1e83
Renamed tests for navigation to library.
2012-12-20 18:48:48 +04:00
Evgeny Gerashchenko
5bdd68e502
Added navigation to source of constructor.
...
#KT-3168 fixed
2012-12-20 18:48:48 +04:00
Evgeny Gerashchenko
32699133cd
Minor. Moved Pair class lower.
2012-12-20 18:48:48 +04:00
Evgeny Gerashchenko
9906bbef4e
Navigation to decompiled primary constructor.
...
#KT-3168 in progress
2012-12-20 18:48:47 +04:00
Evgeny Gerashchenko
4c64ea58d5
Rendering primary constructor in decompiler.
...
#KT-3168 in progress
2012-12-20 18:48:47 +04:00
Evgeny Gerashchenko
9c15a04291
Pulled getUnsubstitutedPrimaryConstructor method to ClassDescriptor.
...
Removed ClassDescriptorFromSource. Implemented method in inheritors.
2012-12-20 18:48:47 +04:00
Evgeny Gerashchenko
5e5cd86194
Regenerated test data.
2012-12-20 18:48:47 +04:00
Evgeny Gerashchenko
1ab555a51b
Checking primary flag in constructors loaded from Java.
2012-12-20 18:48:47 +04:00
Evgeny Gerashchenko
7fcbb3d563
Resolving primary flag for constructors.
2012-12-20 18:48:46 +04:00
Evgeny Gerashchenko
68d8b6b4c3
Added test with @KotlinSignature on method returning array.
...
#KT-2840 can't reproduce
2012-12-20 18:48:46 +04:00
Svetlana Isakova
4775329fb7
refactoring in recordInitializedVariables
...
(iteration over used variables can be replaced with iteration over declared variables)
2012-12-18 19:47:55 +04:00
Svetlana Isakova
a5cf54d370
do not miss repeated 'uninitialized' error for properties
2012-12-18 19:47:55 +04:00