Commit Graph

255 Commits

Author SHA1 Message Date
Alexey Tsvetkov 08e62d3303 Recompile subtypes when class member is changed
Original commit: a474165a8f
2016-01-27 12:28:44 +03:00
Yan Zhulanow 63282ffa9a "Inapplicable operator modifier" and "Inapplicable infix modifier" are now errors
Original commit: 3fa506fd45
2016-01-26 17:21:44 +03:00
Stanislav Erokhin 627384fe11 KT-10772 Problem with daemon on Idea 15.0.3 & 1-dev-25
# KT-10772 Fixed

Original commit: aca19ed27a
2016-01-24 12:29:23 +03:00
Alexey Tsvetkov 2219901fe7 Minor: fix test data
Original commit: cfc410261b
2016-01-22 21:04:46 +03:00
Alexey Tsvetkov d77e5a2b59 Recompile implicit type usages when class signature is changed
Original commit: f32ff42ba3
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov ecd7b0c9d6 Add lookup for every expression's type
Original commit: 310a995bb1
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov cc979e34b1 Add incremental compilation test with change of annotation class
Original commit: 1ef615e020
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov 9d71fd4b21 Improve proto comparison test with changes of annotation list
Original commit: 5ce692a75c
2016-01-22 16:01:35 +03:00
Alexey Tsvetkov 2a1bde9496 Add proto comparison tests with changes of class/member flags
Original commit: 58a91b3d20
2016-01-22 16:01:35 +03:00
Alexey Tsvetkov 5ded4dd4b0 Add incremental compilation tests with changes of companion object
Original commit: a7c432ebe8
2016-01-22 16:01:35 +03:00
Ilya Gorbunov 00020f6d74 Fix testData in compiler: add collections and ranges package to fq-names.
Original commit: f4822cd757
2016-01-22 05:54:38 +03:00
Alexey Tsvetkov a2d58cca63 Test incremental facade to class conversion and vice versa
Original commit: 9bb876e6da
2016-01-21 18:16:01 +03:00
Alexey Tsvetkov cfec0481b4 Recompile all class usages when constructor is changed
Original commit: 94d4dae1fe
2016-01-21 18:14:56 +03:00
Dmitry Jemerov 4e8365084f tests fixed
Original commit: b60621c428
2016-01-19 10:53:53 +01:00
Dmitry Jemerov 7998e7884c add test to check that "Only the Kotlin standard library is allowed to use the 'kotlin' package" is reported in JPS builds
Original commit: 39c6e3712b
2016-01-19 10:53:49 +01:00
Stanislav Erokhin a907aeec4d Change resolution priority about implicit receivers and synthesized member-like descriptors.
Change resolution to consider extensions to implicit receiver before members of another implicit receiver.
Make synthesized member-like extensions resolve right after the members.

#KT-10510 Fixed
#KT-10219 Fixed

Original commit: 3a9ecf0bce
2016-01-15 13:11:38 +03:00
Zalim Bashorov da42c05672 Don't fail when create IncrementalCacheImpl for target without output directory, and fail when try to use this info instead.
#KT-10505 Fixed

Original commit: c1dbfee2a9
2016-01-13 21:37:36 +03:00
Zalim Bashorov b7971cf9ae Don't fail when output directory not specified for "friend" build target
#KT-10505 Fixed

Original commit: d9af9472f0
2016-01-13 21:09:06 +03:00
Zalim Bashorov b87baebf1f Report error when output directory not specified for build target
#KT-10505 Fixed

Original commit: 3df091e7cf
2016-01-13 21:09:05 +03:00
Alexey Tsvetkov 81c4a434e3 Minor: fix test data as exhaustive when error message was changed
Original commit: 328169cd2e
2016-01-13 18:47:05 +03:00
Alexey Tsvetkov 9fb496af8c Recompile all sealed class usages when new derived class is added
Original commit: 94cea25e2e
2016-01-13 15:46:54 +03:00
Alexey Tsvetkov d6b568005f Recompile all enum usages when new entry is added
Original commit: 0cf2928761
2016-01-13 15:46:54 +03:00
Alexey Tsvetkov 7eb8c94ca8 Recompile all class and member usages when flag and member are changed
Original commit: e7f8d7103f
2016-01-13 15:46:53 +03:00
Alexey Tsvetkov ff40b098f9 Add tests for class hierarchy incremental recompilation
Original commit: 9190029fcc
2016-01-12 15:32:47 +03:00
Michael Bogdanov 0218b84990 Private visibility for non-const, non-jvmField class companion property backing field
Original commit: e116cc3206
2015-12-29 16:45:22 +03:00
Alexander Udalov 3c7c92dcb3 Drop compatibility flag, suppressing optimized generation of delegated property metadata
Original commit: 64b48f4458
2015-12-25 20:16:18 +03:00
Stanislav Erokhin 2d6de9f95d Synthetic extensions wins against top-level extension.
Original commit: 1574dc78df
2015-12-18 22:49:25 +03:00
Stanislav Erokhin d9ea7bbd37 Do not discriminate synthesized candidates.
#KT-9965 Fixed

Original commit: 8b5a194dd6
2015-12-18 15:08:19 +03:00
Zalim Bashorov 5d8730f912 Minor: uncomment code fragments in ic tests which already should work
Original commit: ba180f915a
2015-12-17 19:41:25 +03:00
Zalim Bashorov 43b6a9dbbc Minor: use ".touch" extension instead of ".new" in incremental compilation tests when it possible
Original commit: d9b67ae0ef
2015-12-17 19:41:24 +03:00
Ilya Gorbunov 55020c886a Fix testData for LookupTracker
Original commit: bf9d50ccc4
2015-12-14 04:29:27 +03:00
Stanislav Erokhin 54e89b72d4 Update lookupTracker test data for tower resolution algorithm
Original commit: 79b30dddf9
2015-12-11 17:01:02 +03:00
Mikhail Glukhikh 3e8231bedb Enum.values: deprecation (warning) --> deprecation (error)
Original commit: c8b50eec1e
2015-12-11 11:11:42 +03:00
Alexey Tsvetkov 9f5046b3e7 Rebuild only kotlin when cache version is changed
Original commit: 6a74b1c8bf
2015-12-10 18:03:17 +03:00
Alexey Tsvetkov 6e08ea4524 Save class hierarchy to incremental caches
Author:    Alexey Tsvetkov <Alexey.Tsvetkov@jetbrains.com>

Original commit: c567376e35
2015-12-09 16:23:35 +03:00
Alexander Udalov bbd5932a23 Report error when type parameter has a type parameter bound and any other bound
To prevent issues with erasure on JVM: it's unclear what such type parameter
should be erased to

Original commit: d3c17ec337
2015-12-07 15:47:47 +03:00
Alexey Tsvetkov be7a061a70 Do not recompile files compiled in current round
Original commit: 4800cff87f
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov e8ced612d1 Prevent processing changes if all kotlin in chunk was rebuilt
Original commit: 19089f8b17
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov 3b419def7d Minor: add java to test case
Original commit: 98e0905eb3
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov 2f253f0c3a Do not use USER_DATA to preserve data between compilation rounds
Original commit: 60a8db1c6c
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov 1a401183b2 Kotlin incremental cache version change should not affect java only modules
Original commit: a447c39f69
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov 8839938183 Simplify lazy caches tests
Original commit: c9012b10c5
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov 675671f4d5 Test turning incremental compilation on/off
Original commit: e90dc047bd
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov 0eb4f20d14 Test versioning of experimental incremental compilation
Original commit: a8b551e518
2015-12-02 20:56:36 +03:00
Yan Zhulanow 84fea1a41d Fix tests: "infix modifier required" and "operator modifier required" errors
Original commit: 9d1af5a17e
2015-11-27 15:51:11 +03:00
Zalim Bashorov 663d0f2e7e Return platform independent path in IncrementalCacheImpl::getClassFilePath
Fix ExperimentalIncrementalJpsTestGenerated.PureKotlin.testFunctionBecameInline on Windows.

Original commit: 93eb09a654
2015-11-24 16:05:46 +03:00
Mikhail Glukhikh cc0adf19a9 Exposed visibility deprecation warnings made errors + relevant test fixes
Original commit: 4e44466cf9
2015-11-20 15:21:01 +03:00
Michael Nedzelsky e6af8e20a5 fix KT-10064 Regression: Error with multiple main functions within a single package
#KT-10064 Fixed

Original commit: aa8f3df9a8
2015-11-19 19:59:27 +03:00
Dmitry Petrov cdda7e87f7 Drop createQualifier: testData update
Original commit: 9856af48ca
2015-11-18 14:35:53 +03:00
Dmitry Petrov fdef6653e2 Properly resolve values in 1st qualifier part (see implicitReceiverProperty test).
Look into QUALIFIER for left-most "unrolled" qualified expression
    in CallExpressionResolver#getQualifiedExpressionTypeInfo.
Drop some unused functions.

Original commit: b532fa2bbf
2015-11-18 14:35:53 +03:00