Valentin Kipyatkov
41f80cde9e
Checked that "KT-6898 References to type arguments of unresolved class name are not resolved" has been fixed
2015-08-11 13:51:29 +03:00
Valentin Kipyatkov
98c970d394
Fixed resolving class name before dot and nothing else
2015-08-11 13:21:56 +03:00
Valentin Kipyatkov
8b749ee76d
KT-6891 Type argument of generic type before dot is not resolved
...
KT-7373 Type parameter names are not suggested
KT-6838 Class declared in same file is not suggested in completion
#KT-6891 Fixed
#KT-7373 Fixed
#KT-6838 Fixed
2015-08-11 13:21:56 +03:00
Valentin Kipyatkov
f658cce1f1
KT-8176 References to type arguments are not resolved when number of them does not match type parameters
...
KT-8078 FQ-name inserted on class name completion in type arguments
#KT-8176 Fixed
#KT-8078 Fixed
2015-08-11 13:21:56 +03:00
Valentin Kipyatkov
745bed74b2
Minor fix in partial body resolve
2015-07-16 13:49:20 +03:00
Valentin Kipyatkov
73dd4a214e
Reference resolve from synthetic extension usages to get/set-methods
2015-07-16 13:49:15 +03:00
Alexander Udalov
feb4dd7b8f
Drop 'OBJECT$' field deprecated in M11
2015-07-06 16:19:54 +03:00
Pavel V. Talanov
1ef125fa2c
Change testa data according to semantics change
2015-06-23 14:35:46 +03:00
Denis Zharkov
c9f79c2d05
Adjust testData: get rid of obsolete annotations
2015-06-12 09:23:31 +03:00
Alexey Sedunov
608ce59f15
Resolution: Resolve primary constructor references to primary constructor
...
itself if it's explicitly present in PSI
2015-06-11 13:52:47 +03:00
Denis Zharkov
4f85afb3f0
Fix DescriptorUtils.isLocal semantics
...
Non-member descriptors, e.g. type parameters, value parameters that defined in local function should be local too
Otherwise a lot of exceptions happens when resolving references within anonymous objects
2015-06-04 16:11:02 +03:00
Dmitry Jemerov
1188e57597
rename @overloads annotation to @jvmOverloads
2015-05-27 12:23:08 +02:00
Alexander Udalov
e1b367bd65
Delete test case for navigation to 'invoke' of functional type
...
Classes for functional types will not have any physical source representation
anymore, so navigation to them in the IDE will not be possible
2015-05-19 18:47:00 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Nikolay Krasko
90cdb19324
Add origin for generated jvm overloads and tweak equals methods to distinguish them
...
- KT-7586 Strange navigation issue
#KT-7586 Fixed
2015-04-29 15:20:31 +03:00
Dmitry Jemerov
f93eeeb563
fix tests by adding missing 'init' keywords to testdata
2015-04-29 14:07:05 +02:00
Denis Zharkov
44a55e5bf6
Adjust testData to new labels syntax
2015-04-29 14:03:11 +03:00
Mikhail Glukhikh
8184bccda1
Extended loop data flow analysis was implemented. #KT-6283 Fixed. #KT-6284 Fixed.
...
A local descendant of JetTypeInfo added to save separately current data flow info and jump point data flow info together with jump opportunity.
Now data flow analysis know about loop bodies that must be executed at least once (do...while, while(true) until the first break/continue).
A set of tests for smart casts in and after loops.
Existing DoWhile and WhileTrue resolve tests corrected in accordance.
2015-04-14 19:11:22 +03:00
Valentin Kipyatkov
c54541b269
Functions returning Nothing are indexed even when alias import is used
2015-04-02 10:16:59 +03:00
Valentin Kipyatkov
cd18b16407
Partial body resolve: fixed for ! and parenthesis in conditions
2015-04-01 23:21:22 +03:00
Valentin Kipyatkov
698d839eee
Added a test
2015-04-01 23:21:22 +03:00
Valentin Kipyatkov
f3799a0ce7
Partial body resolve correctly handles elvis operator
2015-04-01 23:21:22 +03:00
Valentin Kipyatkov
176ba937ba
Partial body resolve filter works more precisely for if-statements
2015-04-01 23:21:21 +03:00
Evgeny Gerashchenko
3ec6ffc906
KT-7007 Go to declaration doesn't work inside enum class
...
#KT-7007 fixed
2015-03-17 16:10:51 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Stanislav Erokhin
639003b8a8
Allowed function parameter without type declaration in the parser
2015-03-12 17:11:52 +03:00
Dmitry Jemerov
07381b765f
rename Numbers.kt to Primitives.kt as it now contains Char which is not a number
2015-03-11 12:40:39 +01:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Evgeny Gerashchenko
0a824edace
KT-6821 Go to reference on "by" keyword in delegated property doesn't navigate to propertyDelegated
...
#KT-6821 fixed
2015-03-05 18:42:18 +03:00
Nikolay Krasko
c75a7df926
Put reference to default object in default object extenstion call
2015-03-05 01:30:35 +03:00
Valentin Kipyatkov
27f5d71e4f
Fixed bug in partial body resolve
2015-03-03 19:22:27 +03:00
Pavel V. Talanov
640d2de5b9
Fix incorrect reference target for class literals in some cases
2015-03-03 13:04:27 +03:00
Nikolay Krasko
f3919db592
Find usages and reference to delegation origin
2015-02-24 21:52:52 +03:00
Svetlana Isakova
204e9a0c34
KT-6751 References to type arguments of a type argument not resolved when wrong number of them
...
#KT-6751 Fixed
2015-02-19 14:43:18 +03:00
Pavel V. Talanov
f0003449e5
Test named class object reference resolve
2015-02-16 15:38:46 +03:00
Pavel V. Talanov
ed5e2a21d1
Restore some of the tests for deprecated OBJECT$ field
2015-02-16 15:38:45 +03:00
Pavel V. Talanov
1972c2f177
Update test data for various tests
...
Due to slight semantic changes after class object refactor
2015-02-16 15:38:37 +03:00
Pavel V. Talanov
a1f4c06a49
Update test data that mentioned old JvmAbi constants
2015-02-16 15:38:34 +03:00
Nikolay Krasko
0f3971323f
Go to Declaration does not work on usage of constant from class object in Java (KT-6172)
...
#KT-6172 Fixed
2015-02-13 20:28:51 +03:00
Valentin Kipyatkov
0cffdeb973
Added 2 failing tests for bugs in resolve
2015-01-30 13:33:36 +03:00
Andrey Breslav
da238cffaf
Visibility of local classes is LOCAL
2015-01-29 16:07:29 +03:00
Valentin Kipyatkov
77a560775f
KT-6628 Allow imports of classes from root package
...
#KT-6628 Fixed
2015-01-21 20:10:18 +03:00
Valentin Kipyatkov
8f32a6c1f9
Partial body resolve test to test 2 resolve modes
2014-12-18 15:48:27 +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
bd8eaeedaa
Added tests for lambda's returning Nothing (currently do not work)
2014-11-24 20:11:29 +03:00
Valentin Kipyatkov
6cb6a907d7
Changed test output from line comments to block comments
2014-11-24 20:11:29 +03:00
Valentin Kipyatkov
0f59622a44
Checked that partial body resolve works for property delegating
2014-11-24 20:11:28 +03:00
Valentin Kipyatkov
0b56760910
Partial body resolve works for property accessor body
2014-11-24 20:11:27 +03:00
Valentin Kipyatkov
8ccf56415a
Partial body resolve filter: fixed nested loops case
2014-11-24 20:11:27 +03:00
Valentin Kipyatkov
cc84e9682b
Partial body resolve: corrected it for explicit function type but unfortunately it does not work for non-explicit type yet
2014-11-24 20:11:27 +03:00