Commit Graph

26084 Commits

Author SHA1 Message Date
Alexey Tsvetkov 743c59331d Remove tests on turning incremental on/off temporary 2015-09-25 20:11:58 +03:00
Alexey Tsvetkov 1002d233cb Update cache version 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 7ef23da289 Clean all storages if incremental compilation is off 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 68437175f6 Enable disabling incremental compilation for tests 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
Alexey Tsvetkov 4b880f324a Access cache version file in tests using CacheVersionFormat 2015-09-25 20:11:56 +03:00
Alexey Tsvetkov 92d5b93cc7 Move incremental compilation enabled check from CacheFormatVersion to KotlinBuilder 2015-09-25 20:11:56 +03:00
Alexey Tsvetkov 0904b4bae8 Move CacheFormatVersion to separate file 2015-09-25 20:11:56 +03:00
Alexey Tsvetkov 5c9b962567 Create map so it will always be added to maps 2015-09-25 20:11:56 +03:00
Alexey Tsvetkov a611dd9d25 Minor: remove unused function 2015-09-25 20:11:56 +03:00
Alexey Tsvetkov b8388ae7ed Minor: remove unused ClassToSources map 2015-09-25 20:11:56 +03:00
Alexey Tsvetkov fe390a04c5 Create Kotlin incremental caches only on write 2015-09-25 20:11:56 +03:00
Alexey Tsvetkov c0b208275e Revert removing testDoNotCreateUselessKotlinIncrementalCaches
Removed by mistake in b25dfabbcc
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov 8c7053552b Flush dataManager in KotlinJpsBuildTest 2015-09-25 20:11:55 +03:00
Mikhail Glukhikh 4b9d136ced identityEquals is deprecated 2015-09-25 20:00:54 +03:00
Yan Zhulanow aada13c91f Deprecate @publicField 2015-09-25 19:51:07 +03:00
Yan Zhulanow cc2d005984 Make lateinit diagnostics more clear 2015-09-25 19:51:06 +03:00
Dmitry Jemerov 32e6a6e3a1 inspection and quickfix to replace usages of deprecated package facades 2015-09-25 18:29:06 +02:00
Dmitry Jemerov 9de74921ca code review 2015-09-25 18:25:38 +02:00
Dmitry Jemerov 4e7236529c "move assignment to initializer" quickfix for assigning to properties in constructors/init blocks 2015-09-25 18:25:37 +02:00
Dmitry Jemerov e1acc8744d "introduce backing property" intention 2015-09-25 18:25:37 +02:00
Dmitry Jemerov dadef12723 backing field migration fixes 2015-09-25 18:25:36 +02:00
Yan Zhulanow 3d65b6fec2 Add extension function for BindingContext 2015-09-25 19:20:21 +03:00
Yan Zhulanow 6db9344659 Fix compiler tests 2015-09-25 19:20:20 +03:00
Yan Zhulanow 35362a0f3b Check 'operator' on next() and hasNext() 2015-09-25 19:20:19 +03:00
Yan Zhulanow 2c7f68ff71 Member and extension functions with 'operator' have now higher priority 2015-09-25 19:20:18 +03:00
Yan Zhulanow 1139a8dd0e Mark builtins and stblib functions with 'operator' 2015-09-25 19:20:18 +03:00
Yan Zhulanow ce4bcbba6d Simple diagnostic on 'operator' keyword 2015-09-25 19:20:17 +03:00
Yan Zhulanow 43bf87e82d Add diagnostics on convention operator calls without an "operator" modifier on declaration site 2015-09-25 19:19:02 +03:00
Yan Zhulanow fe744abc3c Mark componentN() in data classes with 'operator' 2015-09-25 19:17:25 +03:00
Stanislav Erokhin d3b81cf376 Mute assert in ReferenceVariantsHelper for scopes.
Now there are several places, where we can get JetScope and write wrapper by LexicalScope key.
Assertions is minor here, because in worse case we just added some wrong descriptors to completion.
2015-09-25 19:10:04 +03:00
Stanislav Erokhin 37af3d994b Created util function addImportScope and use it in ShadowedDeclarationsFilter 2015-09-25 19:10:04 +03:00
Stanislav Erokhin 8ab4114291 Minor. Fix testdata. 2015-09-25 19:10:03 +03:00
Natalia Ukhorskaya 40554996f8 Minor. Fix file path for windows 2015-09-25 19:10:02 +03:00
Mikhail Glukhikh 0a0bfdacb1 Names containing only '_' are deprecated (declarations, parameters, import aliases, labels, but not backquoted names) 2015-09-25 18:57:58 +03:00
Mikhail Glukhikh ebfb6c8468 private and override are no more compatible 2015-09-25 18:57:55 +03:00
Mikhail Glukhikh 9ccf1a1729 Partial rollback: 'private' is no more deprecated in interfaces, some tests rolled back accordingly 2015-09-25 18:57:52 +03:00
Denis Zharkov 505cb37052 Generate deprecated flag on getter of const val's 2015-09-25 18:12:45 +03:00
Valentin Kipyatkov 1c6ca9d036 Initial implementation of KT-5955 Completion for override methods
#KT-5955 Fixed
2015-09-25 18:12:18 +03:00
Michael Nedzelsky 15edbbb60c move service declaration to cli 2015-09-25 18:10:58 +03:00
Nikolay Krasko ec411444d5 Do not substitute version in bootstrap build 2015-09-25 18:07:59 +03:00
Nikolay Krasko 2cf640463c Enable override version filter only for specific branch - allow auto-merge to other branches 2015-09-25 18:07:58 +03:00
Nikolay Krasko 35caa79019 Auto-increment version from script
This allows to have own version system on particular branch. It's planned to be enabled in release branches.
2015-09-25 18:07:58 +03:00
Mikhail Glukhikh 103bb320c8 Do not generate non-function/getter/setter (expression) annotations on anonymous functions 2015-09-25 17:46:38 +03:00
Mikhail Glukhikh 74ba21b40c Extra annotation target test for prefix expression 2015-09-25 17:46:36 +03:00