Valentin Kipyatkov
3e437adbb4
Minor code improvements
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
Valentin Kipyatkov
0a7d73ef6b
Partial body resolve: more efficient handling of loops
2014-11-24 20:11:24 +03:00
Valentin Kipyatkov
806bf3b942
Partial body resolve: more efficient handling of while
2014-11-24 20:11:24 +03:00
Valentin Kipyatkov
38c73f8df4
Partial body resolve: added test for do-while
2014-11-24 20:11:24 +03:00
Valentin Kipyatkov
a89c07924d
Partial body resolve: fixed bug
2014-11-24 20:11:24 +03:00
Valentin Kipyatkov
e6acc5601c
Partial body resolve: more efficient for-loop handling
2014-11-24 20:11:23 +03:00
Valentin Kipyatkov
5283b92269
Partial body resolve: more precise smart casts analysis for if-statement
2014-11-24 20:11:23 +03:00
Valentin Kipyatkov
a675b5ba38
Basic implementation of partial body resolve
2014-11-24 20:11:23 +03:00
Nikolay Krasko
95a2dce627
Remove warning and add tests when this warning had been reproducible
2014-11-11 17:33:12 +03:00
Alexander Udalov
f8be39b26b
Regenerate tests
...
After recent changes to Printer and TestGenerator
2014-10-21 00:16:08 +04:00
Pavel V. Talanov
95302fd540
Fix not generating KotlinLightField for OBJECT$ and INSTANCE$ fields
...
Fix navigation from Java to such fields
Fix TODO in converter
2014-10-03 21:35:06 +04:00
Pavel V. Talanov
b2ec5e1ec4
Test reference resolve from Java to Kotlin
...
Cases cover the most basic features
Sadly it was missing before
2014-10-03 21:35:00 +04:00
Alexander Udalov
04bb43e907
Fix navigation to data class copy function
2014-09-19 11:45:22 +04:00
Zalim Bashorov
48de3b706d
Frontend: added the support file annotations to LazyTopDownAnalyzer.
2014-09-10 22:39:12 +04:00
Alexander Udalov
25bb220223
Fix navigation on values()/valueOf() of enum classes
2014-09-09 20:42:39 +04:00
Nikolay Krasko
041d009b9a
Regenerate tests
2014-09-09 14:28:24 +04:00
Andrey Breslav
32c8d3a96d
Tests regenerated
2014-09-08 19:57:41 +04:00
Alexander Udalov
ec12d1d71d
Fix deprecation warnings on junit.framework.Assert
...
Use org.junit.Assert instead everywhere. Also fix some other minor warnings
2014-08-29 12:34:07 +04:00
Alexander Udalov
087eec4521
Regenerate tests after recent generator improvements
2014-08-25 19:00:09 +04:00
Alexander Udalov
cdbdfaf182
Make Pair and Triple data classes
2014-07-25 21:19:38 +04:00
Pavel V. Talanov
8523e18afc
Set source elements for java annotation parameters
2014-07-09 18:19:40 +04:00
Pavel V. Talanov
930ea88e25
Set source elements for java enum entries
...
#KT-4277 Fixed
2014-07-09 18:19:39 +04:00
Pavel V. Talanov
4188bbe53c
Set source elements for java parameters
2014-07-09 18:19:38 +04:00
Nikolay Krasko
7c05fd210a
Update to idea/138.628
2014-06-20 17:14:48 +04:00
Nikolay Krasko
a8e07a329e
Idea 138: workaround enabled "File accessed outside allowed roots"
...
See IDEA-125568
2014-06-20 17:14:34 +04:00
Nikolay Krasko
dd00d7d004
Introduce utility method for working with multifile tests
2014-05-30 00:04:02 +04:00
Pavel V. Talanov
6f2ed9a5a9
Add JetMultiDeclarationReference
...
A reference to component* functions
2014-03-06 16:01:02 +04:00
Pavel V. Talanov
80bc7b286a
Test for reference to nested class in library
2014-03-04 21:19:55 +04:00
Zalim Bashorov
559ea28a6b
Dropped extra caret markers and introduced separate marker for referencing from context.
2014-02-24 20:27:20 +04:00
Nikolay Krasko
558fca5eab
Check reference to Java root class from library
2014-02-20 16:08:04 +04:00
Pavel V. Talanov
4a3ccc4eac
JDR: do not create package fragment for class statics if class cannot be resolved
...
This keeps behaviour consistent in rare cases when JavaClass can be found but not resolved
As of now this can happen in IDE if we take PsiClass from index but file structure is wrong so we can't resolve the class
Add test which documents this case
2014-02-11 17:17:34 +04:00
Nikolay Krasko
e46c19b3f8
Test for correct references to java classes
2014-02-06 15:52:02 +04:00
Nikolay Krasko
e36c0130a0
Test for reference to kotlin compiled inner class
2014-02-06 15:52:01 +04:00
Nikolay Krasko
3ceed45c09
Test for resolving references from package which is declared both in binaries and sources
2014-02-06 15:52:01 +04:00
Pavel V. Talanov
6c96d235ec
Tests: add complex tests for references to libraries
...
These tests check that that complex references (var p by delegate, for in collection, array[index]) are resolved correctly when target descriptors have type parameters
See 41f9dcba91
#KT-4505 Fixed
2014-02-05 17:15:14 +04:00
Alexander Udalov
877d9f2220
Update year to 2014 in generated files
2014-01-31 16:46:16 +04:00
Evgeny Gerashchenko
ae4c68830d
Importing root scope without members.
2014-01-16 22:11:55 +04:00
Nikolay Krasko
0d141d959a
Add tests for EA-52767 and KT-4366: "java.lang.IllegalArgumentException: Could not find a classifier for "...
2014-01-15 22:01:03 +04:00
Nikolay Krasko
07229b23d9
Refactoring: extract methods
2014-01-15 22:01:03 +04:00
Alexey Sedunov
e2118b7ae8
Tests for additional lazy resolve (local classes/objects in class initializers)
2014-01-15 16:49:29 +04:00
Evgeny Gerashchenko
cd8f5fae54
Renamed some generated tests to follow conventions.
2013-12-19 21:48:37 +04:00
Evgeny Gerashchenko
fa89d537fa
Fixed generator class name.
2013-12-19 21:48:36 +04:00
Alexander Udalov
102ced153c
Remove binary test data from completion tests
...
Delete CompileBinaryTestData script, since there are no tests with binary test
data left in the repository
2013-10-10 20:28:22 +04:00