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
Valentin Kipyatkov
058af69078
Partial body resolve: added more tests
2014-11-24 20:11:27 +03:00
Valentin Kipyatkov
2f19713cc2
Partial body resolve: rewritten algorithm of filter building to ensure correct resolve of smart cast points (+ prepared to support more strict mode for resolve only)
2014-11-24 20:11:27 +03:00
Valentin Kipyatkov
cd90ab951f
Partial body resolve tests: more informative test output
2014-11-24 20:11:27 +03:00
Valentin Kipyatkov
4503adb7fc
Partial body resolve filter: more correct lambda resolve for return
2014-11-24 20:11:26 +03:00
Valentin Kipyatkov
4ca8a3400e
Added a test
2014-11-24 20:11:26 +03:00
Valentin Kipyatkov
166d580682
Partial body resolve: found group of cases incorrectly handled by the current implementation
2014-11-24 20:11:26 +03:00
Valentin Kipyatkov
6230ba7310
"casted" -> "cast"
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
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
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