Zalim Bashorov
998dfacd5f
KotlinBuilder: use proper API to update Java mappings
...
Original commit: d832a3d290
2016-02-19 19:11:10 +03:00
Zalim Bashorov
e99513da07
New IC: don't fail on unsupported difference kinds and process SUPERTYPE_ID_LIST correctly
...
Original commit: 05eff9028f
2016-02-19 19:10:44 +03:00
Mikhail Glukhikh
cb985c0d13
Effective visibility: concise diagnostic messages #KT-10761 Fixed
...
Also #KT-9760 Fixed
Original commit: 1bbc46729c
2016-02-16 15:58:50 +03:00
Zalim Bashorov
46253721f1
Minor: drop content from touch files
...
Original commit: 45f21bc7fd
2016-02-10 22:56:10 +03:00
Zalim Bashorov
74de0e6e7c
New IC: add processing changes for constants
...
Original commit: ced23c02bd
2016-02-10 22:56:09 +03:00
Zalim Bashorov
e30ef13260
KotlinBuilder: don't request additional round when it's unnecessary & fix warnings
...
Original commit: e33e31ad16
2016-02-10 21:37:12 +03:00
Zalim Bashorov
df46352af0
Improve test multifilePackagePartMethodAdded: add file which should not be affected
...
Original commit: cf173d6963
2016-02-09 23:27:26 +03:00
Zalim Bashorov
e7dcf02ffe
Introduce TestingContext to pass data between tests and KotlinBuilder; introduce BuildLogger to log build events (build finished, files marked as dirty) in KotlinBuilder
...
Original commit: f6e7f8c3c0
2016-02-09 23:27:25 +03:00
Dmitry Petrov
2217761694
Better diagnostics for conflicting overloads.
...
Skip declarations without sources in reporting, not when determining redeclaration groups:
this allows emitting informative diagnostics for incremental compilation.
Provide containing declaration with "kind", e.g., "package '<root>'", "class A", and so on.
Original commit: 4afe98a0f6
2016-02-03 15:53:07 +03:00
Dmitry Petrov
4ff15aa21f
Fix KT-10764 IDEA doesn't show overload conflict between constructor and function...
...
When checking for overloads in package, consider functions and top-level class constructors as possibly conflicting between each other. NB OverloadUtil uses containing package scope from module descriptor.
Change diagnostic message for CONFLICTING_OVERLOAD: it's misleading in case of fun vs constructor conflict.
Add custom multifile test for diagnostics in IDE (probably not the best; should preprocess file content if it's required to check highlighting in multiple files, not only in the first file).
Add test for KT-10765 Incremental compilation misses overload conflict between constructor and function ...
Original commit: 65f754ffca
2016-02-02 16:21:26 +03:00
Alexey Tsvetkov
4453f6c378
Fix updating java mappings for multifile facade
...
Original commit: 2abc422577
2016-01-27 12:28:44 +03:00
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