Svetlana Isakova
55968aabad
fixed an exception from 'getConstructorReferenceExpression'
...
(from exception analyzer)
2012-12-29 20:08:10 +04:00
Evgeny Gerashchenko
dda15f7505
Excluded class object names from FQ name and qualified name.
2012-12-28 14:25:34 +04:00
Evgeny Gerashchenko
c041fc8fea
Removed sorting of upper bounds in renderer.
...
Removed corresponding test.
2012-12-28 14:25:18 +04:00
Evgeny Gerashchenko
6fa36d330c
Regenerated test data.
2012-12-28 14:25:18 +04:00
Evgeny Gerashchenko
28c93f2912
Not rendering "final" for top-level functions and properties.
2012-12-28 14:25:18 +04:00
Evgeny Gerashchenko
da7f4f3421
Escaping parameter names in "where".
2012-12-27 20:46:59 +04:00
Evgeny Gerashchenko
862a6ffbbc
Moved class object case to namespace comparing test.
2012-12-27 20:46:59 +04:00
Evgeny Gerashchenko
6ab081d969
Regenerated test data.
2012-12-27 20:46:58 +04:00
Evgeny Gerashchenko
5dec5a4c28
Regenerated all test data which uses NamespaceComparator.
2012-12-27 20:46:57 +04:00
Evgeny Gerashchenko
ef1ffa4bf7
Sorting upper bounds when rendering "where" to workaround failing test.
2012-12-27 20:46:56 +04:00
Evgeny Gerashchenko
3cc61d070b
Removed obsolete stdlib-log.txt.
2012-12-27 20:46:56 +04:00
Evgeny Gerashchenko
778df8b1fd
Rendering annotations and visibility for class object.
...
Don't render modality for any object kind.
2012-12-27 20:46:55 +04:00
Evgeny Gerashchenko
bf42e3c093
Rendering "constructor" instead of "ctor".
2012-12-27 20:46:54 +04:00
Evgeny Gerashchenko
08d2002277
Rendering 'where' for properties.
2012-12-27 20:46:53 +04:00
Evgeny Gerashchenko
b7e4907f74
Rendering where suffix for classes.
2012-12-27 20:46:52 +04:00
Evgeny Gerashchenko
b300329e21
Rendering variance when type parameter is reified.
2012-12-27 20:46:52 +04:00
Evgeny Gerashchenko
7beb4fe10e
Rendering constructors in DescriptorRendererTest.
2012-12-27 20:46:52 +04:00
Evgeny Gerashchenko
2b83b970ed
Rendering annotations in descriptor renderer.
2012-12-27 20:46:52 +04:00
Evgeny Gerashchenko
ad5a869a0a
Rendering all class kinds in DescriptorRenderer.
2012-12-27 20:46:51 +04:00
Svetlana Isakova
22d3adc89f
KT-3184 Type inference seems partially broken
...
#KT-3184 fixed
2012-12-27 18:45:24 +04:00
Natalia.Ukhorskaya
e9d1171d6d
Fix VerifyError for enum constructor with default arguments
2012-12-27 12:29:09 +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
f0d52e63b2
Don't resolve kotlin constructors from bytecode without JetConstructorAnnotation
2012-12-27 12:29:03 +04:00
Natalia.Ukhorskaya
538aa869b4
Constructor with default arguments for inner class
...
#KT-2852 Fixed
2012-12-27 12:29:01 +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
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
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
b0302246a0
HtmlTabledDescriptorRendererTest renamed to DiagnosticMessageTest
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
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
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
Evgeny Gerashchenko
e3a30b10a9
Not writing fake parameters of enum constructors to generic signature.
2012-12-25 15:20:57 +04:00
Evgeny Gerashchenko
5e5cd86194
Regenerated test data.
2012-12-20 18:48:47 +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
a5cf54d370
do not miss repeated 'uninitialized' error for properties
2012-12-18 19:47:55 +04:00
Svetlana Isakova
67d0d8b1a9
fix: val can be reassigned through backing field inside its own getter
2012-12-18 19:47:54 +04:00
Svetlana Isakova
58de1cabbc
update tests according to package properties check
2012-12-18 19:47:54 +04:00
Svetlana Isakova
11bc01795f
check package declaration in a file
...
to have the right properties initialization order
not to report errors if isDeclaredLocally (only recordInitializedVariables)
2012-12-18 19:47:54 +04:00
Svetlana Isakova
f697098fb4
KT-2960 Perform control flow checks for package property initializers
...
#KT-2960 fixed
2012-12-18 19:47:52 +04:00
Svetlana Isakova
6e8ac23689
removed allow dead collecting
2012-12-18 16:00:27 +04:00
Svetlana Isakova
d778952512
fixed bug with incorrect copy of pseudocode part
...
(was noticeable in doTestCopy4 example)
labels after part should be repeated as well
2012-12-18 16:00:27 +04:00
Svetlana Isakova
e15340bf3c
use upper-case L in label name instead of lower-case
2012-12-18 16:00:27 +04:00
Svetlana Isakova
d7a60f5fed
added tests for KT-2369, KT-2585 and KT-2972
...
KT-2369 Variable is not marked as uninitialized in 'finally' section
#KT-2369 fixed
KT-2585 Code in try-finally is incorrectly marked as unreachable
#KT-2585 fixed
KT-2972 Wrong "unused value" warning when finally is present
#KT-2972 fixed
2012-12-18 16:00:26 +04:00
Svetlana Isakova
97058e628e
added names for loop labels
...
updated control flow test data
2012-12-18 16:00:26 +04:00