Michael Nedzelsky
b8ab8bcfca
check for access to internal elements from another module in jps-plugin
...
hack for access from tests to internal declarations in production code
fix AbstractCompileKotlinAgainstKotinTest: add information about output directory in order to correct check for internal visibility.
2015-09-25 14:02:29 +03:00
Michael Nedzelsky
0b49195a03
add tests in KotlinJpsTest for check access to internal elements from another module
2015-09-25 14:02:26 +03:00
Michael Nedzelsky
ad274c5137
add tests for incremental compilation with changed internal class
2015-09-25 14:02:21 +03:00
Valentin Kipyatkov
c8a244cc40
Minor corrections on code review
2015-09-25 13:02:47 +03:00
Valentin Kipyatkov
db0578c187
Refactored code
2015-09-25 13:02:46 +03:00
Valentin Kipyatkov
22797114c7
J2K: correct handling of properties with "is" notation
2015-09-25 13:02:46 +03:00
Valentin Kipyatkov
c8b6db4e57
Renamed test data folder
2015-09-25 13:02:46 +03:00
Valentin Kipyatkov
ade9cbcafb
Refactoring (+ slightly more correct logic)
2015-09-25 13:02:46 +03:00
Valentin Kipyatkov
c05232bbb7
J2K: generate accessor bodies in expression form if possible
2015-09-25 13:02:46 +03:00
Valentin Kipyatkov
ee5a853faa
Generate accessor with delegation to super when it's necessary
2015-09-25 13:02:45 +03:00
Valentin Kipyatkov
b1b5af8e1e
More correct detection of super property
2015-09-25 13:02:45 +03:00
Valentin Kipyatkov
8a0cd92aff
Minor
2015-09-25 13:02:45 +03:00
Valentin Kipyatkov
e885657894
Minor api refactoring "isVal" -> "isVar"
2015-09-25 13:02:45 +03:00
Valentin Kipyatkov
320102bbdb
J2K: get/set-methods converted to properties (but lot of TODOs left)
2015-09-25 13:02:45 +03:00
Denis Zharkov
3f6cadf9b7
Change FUNCTION_EXPRESSION_WITH_NAME severity to ERROR
...
Also drop deprecation related parts and get rid of usages of this `feature` within testData
2015-09-25 08:29:26 +03:00
Denis Zharkov
1d90b2e1fe
Get rid of obsolete syntax in quickfixes changing lambda's signature
...
- Do not wrap parameters with '()'
- Do not set return type for them
- Fix existing testData
2015-09-25 08:29:26 +03:00
Denis Zharkov
31d2aa23f5
Remove ChangeType quickfix for lamdas with deprecated syntax
2015-09-25 08:29:26 +03:00
Denis Zharkov
60ebc689ad
Drop diagnostic reported on lambda's return type
...
Because it's not allowed syntactically anymore.
Also adjust related methods within JetFunctionNotStubbed
2015-09-25 08:29:26 +03:00
Denis Zharkov
c6377a0664
Drop everything related to lambda syntax deprecation
2015-09-25 08:29:26 +03:00
Denis Zharkov
73799e2c3c
Replace deprecated lambda syntax in testData
...
It's done with similar constructions where possible trying to preserve
intended behavior.
Some usages are removed because they test exactly the feature that
we are going to drop soon.
2015-09-25 08:29:25 +03:00
Denis Zharkov
5f69789636
Stop parsing lambdas with deprecated syntax
2015-09-25 08:29:25 +03:00
Zalim Bashorov
79ac436b9f
Add tests for cases when add and remove custom accessors for val with smartcasted usage
2015-09-24 22:50:48 +03:00
Michael Nedzelsky
c6409138d8
Merge pull request #752 from JetBrains/rr/compile-service-3
...
compile service 3
2015-09-24 16:50:09 +03:00
Valentin Kipyatkov
f27c18b4a2
KT-8979 Completion of non-imported extension with "!" character corrupts code
...
#KT-8979 Fixed
2015-09-24 16:44:41 +03:00
Stanislav Erokhin
c2b1a5ee6d
Removed unnecessary long checks.
2015-09-24 14:32:54 +03:00
Stanislav Erokhin
e4e6a600e1
Add performance hack for unInvalidate Files from stdlib in tests.
2015-09-24 14:32:54 +03:00
Stanislav Erokhin
9cc6d1cf58
Added check to ImportInsertHelperImpl that inserted import successfully imports descriptor
2015-09-24 14:07:51 +03:00
Stanislav Erokhin
88815c40cc
Minor. Fix testdata.
2015-09-24 14:07:51 +03:00
Stanislav Erokhin
cdcf9f30b7
Minor. Fix compilation.
2015-09-24 14:07:51 +03:00
Stanislav Erokhin
fc9aa87a05
Report diagnostic on import with explicit import class if class was imported earlier.
2015-09-24 14:07:43 +03:00
Stanislav Erokhin
6c1738e11a
Minor. Small refactoring of AllUnderImportsScope
2015-09-24 13:53:56 +03:00
Stanislav Erokhin
85895bec62
Improved error reporting, when we trying import invisible descriptor.
2015-09-24 13:53:56 +03:00
Stanislav Erokhin
d7a14075f1
Removed ImportPackage UI settings
2015-09-24 13:53:56 +03:00
Stanislav Erokhin
1360f3cd43
Fix visibility checker for import.
2015-09-24 13:53:55 +03:00
Michael Bogdanov
e5334ed9b8
Compare arrays via equals (not Arrays.equals) in data classes
2015-09-24 12:00:19 +03:00
Michael Bogdanov
cf57d56ab3
Don't generate private members in interface
2015-09-24 12:00:18 +03:00
Ilya Chernikov
4b1601974f
Refactoring parts related to passing services to compiler in daemon, adding uniform support for cancellation check and lookup tracking
2015-09-24 10:44:44 +02:00
Ilya Chernikov
3c16b2de87
Converting KotlinCompilerRunner.java to kotlin - phase 3 - refactoring to more kotlin style
2015-09-24 10:42:54 +02:00
Ilya Chernikov
0047fb1272
Converting KotlinCompilerRunner.java to kotlin - phase 2 - converter + manual fixes
2015-09-24 09:56:26 +02:00
Ilya Chernikov
fffe6dd837
Converting KotlinCompilerRunner.java to kotlin - phase 1 - renaming to .kt to preserve history
2015-09-24 09:56:26 +02:00
Ilya Chernikov
886dc4b438
Refactoring daemon tests for more reusable code, adding instances test, minor fixes and improvements
2015-09-24 09:56:25 +02:00
Ilya Chernikov
c294a682de
Utils for checking presense of certain lines in a sequence, using this tool for checking log after daemon builds in tests, fixing explicit daemon shutdown used in the test, some minor fixes
2015-09-24 09:56:24 +02:00
Michael Bogdanov
2e6b56691c
Fix for: KT-8089 NoSuchFieldError
...
#KT-8089 Fixed
2015-09-24 09:36:46 +03:00
Yan Zhulanow
bc727a170b
Add 'operator' keyword
2015-09-23 21:25:51 +03:00
Pavel V. Talanov
4a32993cc3
Ant build: apply -Xmultifile-package-facades while building stdlib and reflection jars only
2015-09-23 18:29:13 +03:00
Zalim Bashorov
967c8eae2e
Minor: fix testdata files which were accidentally reformatted
2015-09-23 18:18:08 +03:00
Michael Nedzelsky
2c952dcc22
Revert "add isKotlinSourceElement method to Source interface in order to recognize kotlin source elements during compilation"
...
This reverts commit c342f6870a .
2015-09-23 17:45:47 +03:00
Michael Nedzelsky
031a42ccf4
Revert "add isIncremental method to PackageFragmentDescriptorImpl in order to recognize descriptors from incremental package fragments during compilation"
...
This reverts commit ddaebd2b27 .
2015-09-23 17:45:45 +03:00
Michael Nedzelsky
ef8e7ea0bb
Revert "add strict check for internal visibility during compilation"
...
This reverts commit d1ee58186f .
2015-09-23 17:45:42 +03:00
Michael Nedzelsky
01ece0faa4
Revert "fix tests (internal -> public)"
...
This reverts commit e86bf03e76 .
2015-09-23 17:45:40 +03:00