Pavel V. Talanov
8f456556f6
Update existing test data depending on diagnostic parameter rendering
...
Original commit: a4c005fefd
2016-02-26 14:45:11 +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
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
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
cc979e34b1
Add incremental compilation test with change of annotation class
...
Original commit: 1ef615e020
2016-01-22 16:01:36 +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
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
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