Commit Graph

147 Commits

Author SHA1 Message Date
Michael Nedzelsky 6ebe0c30ec fix KT-9299 In a project with circular dependencies between modules, IDE reports error on use of internal class from another module, but the corresponding code still compiles and runs.
#KT-9299 Fixed
2015-10-30 14:40:46 +03:00
Zalim Bashorov a5708c9c0d Track lookups in JavaSyntheticPropertiesScope 2015-10-27 19:38:32 +03:00
Yan Zhulanow 10eed8f7cd Fix incremental test (DefaultImpls are not generated for an empty interface) 2015-10-27 02:46:57 +03:00
Dmitry Petrov 5170341624 OverloadResolver:
fix redeclaration diagnostics issue in incremental compilation (KT-6165)
J2K: OverloadUtil.kt
2015-10-22 10:45:49 +03:00
Max Kammerer 715893446c Incremental compilation test data update after making package property backing field private 2015-10-19 21:21:02 +03:00
Alexey Tsvetkov e9e42b0251 Code cleanup 2015-10-19 20:45:03 +03:00
Alexey Tsvetkov 6f96484e1f Fix tests 2015-10-19 20:45:03 +03:00
Dmitry Petrov dda508234f Drop package facades:
- update tests
- cleanup JetTyMapper after rebase
2015-10-19 16:03:22 +03:00
Dmitry Petrov 639300a89d Drop package facades: fix testData for IncrementalProjectPathCaseChangedTest 2015-10-19 16:03:21 +03:00
Dmitry Petrov ac1f0efe7c Drop package facades: fix testData for IncrementalLazyCachesTestGenerated 2015-10-19 16:03:21 +03:00
Dmitry Petrov 621d26aeeb Drop package facades: fix incremental compilation tests & proto comparison tests
(package facades are no longer generated)
2015-10-19 16:03:21 +03:00
Dmitry Petrov f227908151 Drop package facades:
- update incremental compilation tests
2015-10-19 16:03:21 +03:00
Dmitry Petrov c55106a325 Drop package facades:
- incremental cache impl should not depend on package facades
- fix trivial incremental compilation tests
TODO: inlines DO NOT WORK with incremental compilation
2015-10-19 16:03:20 +03:00
Zalim Bashorov de5dc61820 Make NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION error 2015-10-18 22:49:08 +03:00
Stanislav Erokhin d5dbc9638d Added static methods, nested classes and companion object from superclasses. 2015-10-16 20:42:34 +03:00
Alexander Udalov 6a965c9a06 Update IDE tests to use KProperty instead of PropertyMetadata 2015-10-14 20:45:55 +03:00
Michael Bogdanov bee0fb6283 Fix test data 2015-10-13 16:17:05 +03:00
Alexey Tsvetkov a564724fa8 Fix issues with incremental cache version change
#KT-9360 fixed
2015-10-13 16:12:15 +03:00
Alexey Tsvetkov af3f7dfafc Make test generated 2015-10-13 16:12:15 +03:00
Yan Zhulanow 1f2b4e20fe Replace get() and set() to getValue() and setValue() (property delegates) 2015-10-09 22:49:16 +03:00
Mikhail Glukhikh 2fee9d362c Local interfaces are forbidden now 2015-10-09 21:06:33 +03:00
Mikhail Glukhikh 6914d09297 Old backing field with dollar is now forbidden 2015-10-09 21:06:26 +03:00
Michael Bogdanov 12afbffb09 Copy to interface just companion object public const properties 2015-10-09 16:25:15 +03:00
Michael Nedzelsky 0de9e8295a add tests for incremental compilation: package members 2015-10-01 15:16:30 +03:00
Michael Nedzelsky 8557e540fc incremental compilation: do not recompile on changes in private static final values. 2015-10-01 15:16:26 +03:00
Zalim Bashorov a36e4abf4d Move visibility check for toplevel private declarations to Visibilities.PRIVATE and fix it. 2015-10-01 14:57:26 +03:00
Dmitry Petrov 3dfe9951ef Incremental compilation support for multifile classes. 2015-09-30 09:56:05 +03:00
Denis Zharkov a101fffd9a Change INTERFACE_IMPL_CLASS_NAME: $TImpl -> DefaultImpls 2015-09-30 08:19:51 +03:00
Stanislav Erokhin 5a61871d4b Minor. Fix testdata. 2015-09-29 13:33:57 +03:00
Michael Nedzelsky 2f9151ec18 remove incremental test: accessPrivateMembers 2015-09-25 21:16:03 +03:00
Alexey Tsvetkov 743c59331d Remove tests on turning incremental on/off temporary 2015-09-25 20:11:58 +03:00
Alexey Tsvetkov ba33020140 Clean only kotlin caches when incremental compilation is off 2015-09-25 20:11:58 +03:00
Alexey Tsvetkov 1298d115bd Minor: rename test cases 2015-09-25 20:11:57 +03:00
Alexey Tsvetkov c7f66a1585 Fix recompilation of dependent modules on cache/abi version change
New cache version was written to dependent targets,
when they have not been compiled yet

 #KT-9190 Fixed
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov 2bed8d0557 Test caches creation with turning incremental on/off 2015-09-25 20:11:57 +03:00
Alexey Tsvetkov b6bbc4015b Write cache version only if incremental compilation is enabled 2015-09-25 20:11:57 +03:00
Alexey Tsvetkov a3f2ccf72d Test that Kotlin incremental caches are created lazily 2015-09-25 20:11:57 +03:00
Stanislav Erokhin 8ab4114291 Minor. Fix testdata. 2015-09-25 19:10:03 +03:00
Michael Nedzelsky ad274c5137 add tests for incremental compilation with changed internal class 2015-09-25 14:02:21 +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
Dmitry Jemerov 4ca434da54 remove support for 'trait' keyword 2015-09-22 15:00:24 +02:00
Stanislav Erokhin 68389d34e4 Optimized task creation for local functions and variables 2015-09-18 21:01:22 +03:00
Zalim Bashorov 27a196b25b Track lookups for conventions 2015-09-18 18:31:19 +03:00
Denis Zharkov bae3320d52 Get rid of deprecated annotations in testData 2015-09-18 10:14:32 +03:00
Dmitry Petrov 37d5a16a3d Incremental compilation test for @file:JvmName 2015-09-08 13:02:57 +03:00
Alexey Tsvetkov 93776b711e Add file without usage to classInlineFunctionChanged test case 2015-09-08 05:49:35 +03:00
Alexey Tsvetkov a22e15449d Fix incremental compilation for delegated property with inline accessor 2015-09-08 05:49:35 +03:00
Alexey Tsvetkov 196e59247f Update build logs in incremental tests 2015-09-08 05:49:35 +03:00
Alexey Tsvetkov 45dae5e1a4 Change one package part, then another at different steps 2015-09-08 05:49:34 +03:00
Alexey Tsvetkov d9e9f11028 Remove duplicating simple test case 2015-09-08 05:49:34 +03:00