Commit Graph

623 Commits

Author SHA1 Message Date
Zalim Bashorov 35cb01217e Add tests for lookups to enum static scope and to companion object scope
Original commit: 04fed203e4
2015-11-04 22:15:37 +03:00
Zalim Bashorov 1a566ee995 Track lookups for nested/inner Java classes
Original commit: a6855116b8
2015-11-04 22:09:55 +03:00
Stanislav Erokhin dbef220656 Minor. fix testdata
Original commit: 87f32ef07b
2015-11-04 14:28:29 +03:00
Ilya Chernikov 121caa0d4e Adding possibility to skip params inheritance on daemon jvm options creation, refactoring appropriate api, using it to fix tests
Original commit: b71fec985f
2015-11-03 21:56:31 +01:00
Ilya Chernikov 1f62b03f13 Enabling parallel builds in JPS without daemon, enabling application environment disposing in tests, introducing keepalive property constant
Original commit: 10036d7ef3
2015-11-03 14:18:22 +01:00
Dmitry Jemerov 5fe43b4e72 remove Jet from names of classes in tests: phase 2
Original commit: 19af88738b
2015-11-03 14:06:04 +01:00
Zalim Bashorov b4fdd8ffbb Minor: fix generating LookupTracker tests
Original commit: 54cb575819
2015-11-03 14:01:47 +03:00
Mikhail Glukhikh 71ad871488 More precise diagnostics of smart cast impossible #KT-7240 Fixed
Original commit: 41ebfd025e
2015-11-03 13:38:51 +03:00
Zalim Bashorov 64a1cac2b9 Add test for lookups in generic constraints; Add cases with lookup to companion and nested object;
Original commit: 5d72629b0b
2015-11-02 18:18:37 +03:00
Zalim Bashorov e41b323fb4 Add tests for lookups to declarations form Java
Original commit: 4cb5398c04
2015-11-02 18:18:32 +03:00
Zalim Bashorov ee0ec87da6 Add tests for lookups to deserialized and java scopes
Original commit: 519172f182
2015-11-02 18:18:32 +03:00
Zalim Bashorov 171bfa8d67 Minor: fix testdata
Original commit: 3484c43c8c
2015-11-02 18:18:31 +03:00
Zalim Bashorov 22a2f03219 Added "touch" command to incremental tests and implemented; Implemented more accurate checking lookups after modifications
Original commit: 24037c8bf4
2015-11-02 18:18:31 +03:00
Zalim Bashorov 6a7fcd61fe Refactoring: introduced val location: LocationInfo? in LookupLocation and use it in LookupTracker::record
Original commit: a5d8b47083
2015-11-02 18:18:29 +03:00
Michael Nedzelsky 731268085f 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

Original commit: 6ebe0c30ec
2015-10-30 14:40:46 +03:00
Mikhail Glukhikh ef395369bf Cleanup: get rid of effective visibility warnings
Original commit: f8a70302ac
2015-10-28 14:31:51 +03:00
Zalim Bashorov d7a4c9a54d Track lookups in JavaSyntheticPropertiesScope
Original commit: a5708c9c0d
2015-10-27 19:38:32 +03:00
Zalim Bashorov ef1d6efe1e Allow to fail on initial build in incremental tests if testdata contains "init-build.log" file
Original commit: 412e078a6b
2015-10-27 19:37:10 +03:00
Zalim Bashorov a8e6d8fdfb Add the support checking lookups after modifications
Original commit: cc3c76ae67
2015-10-27 19:37:09 +03:00
Zalim Bashorov ae8748d593 Minor: print "<root>" for root package instead empty string in Lookup tests.
Additionally fixed warnings.

Original commit: 2d859d6191
2015-10-27 19:37:09 +03:00
Yan Zhulanow 4899abe828 Fix incremental test (DefaultImpls are not generated for an empty interface)
Original commit: 10eed8f7cd
2015-10-27 02:46:57 +03:00
Dmitry Petrov abac00df69 KT-6165, KT-9547: fix testData for JPS plugin.
Test contains effectively single module (with circular dependencies),
and should not have conflicting declarations.
Rename the package in a library used in this test.

 #KT-9547 Fixed

Original commit: 1a58636ea9
2015-10-22 11:37:01 +03:00
Dmitry Petrov 3b8d50f06e OverloadResolver:
fix redeclaration diagnostics issue in incremental compilation (KT-6165)
J2K: OverloadUtil.kt

Original commit: 5170341624
2015-10-22 10:45:49 +03:00
Max Kammerer 13aedbd161 Incremental compilation test data update after making package property backing field private
Original commit: 715893446c
2015-10-19 21:21:02 +03:00
Alexey Tsvetkov 406783b53d Code cleanup
Original commit: e9e42b0251
2015-10-19 20:45:03 +03:00
Alexey Tsvetkov b4033f2bcd Fix tests
Original commit: 6f96484e1f
2015-10-19 20:45:03 +03:00
Alexey Tsvetkov 7dd7ec447d Drop @inline from tests and incremental compilation
Original commit: d87ce33458
2015-10-19 20:45:01 +03:00
Ilya Chernikov 79a82d9466 Setting property that controls application environment lifetime for daemon builds
Original commit: 376c188cf7
2015-10-19 18:01:45 +02:00
Dmitry Petrov 1bd1fbeee4 Drop package facades:
- update tests
- cleanup JetTyMapper after rebase

Original commit: dda508234f
2015-10-19 16:03:22 +03:00
Dmitry Petrov 099d588802 Drop package facades: fix testData for IncrementalProjectPathCaseChangedTest
Original commit: 639300a89d
2015-10-19 16:03:21 +03:00
Dmitry Petrov 70ff0d9676 Drop package facades: fix testData for IncrementalLazyCachesTestGenerated
Original commit: ac1f0efe7c
2015-10-19 16:03:21 +03:00
Dmitry Petrov f0cd2702cb Drop package facades: fix incremental compilation tests & proto comparison tests
(package facades are no longer generated)

Original commit: 621d26aeeb
2015-10-19 16:03:21 +03:00
Dmitry Petrov 848216756d Drop package facades:
- update incremental compilation tests

Original commit: f227908151
2015-10-19 16:03:21 +03:00
Dmitry Petrov 49831484ef Drop package facades:
- getting rid of package facades in InlineCodegen & related stuff.
Provide binary source element to top-level package members.

Original commit: 70c91b2e75
2015-10-19 16:03:20 +03:00
Dmitry Petrov 428d7236d5 Drop package facades:
- fix KotlinJpsBuildTest

Original commit: 989f761166
2015-10-19 16:03:20 +03:00
Dmitry Petrov c26a7dfd29 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

Original commit: c55106a325
2015-10-19 16:03:20 +03:00
Mikhail Glukhikh e61c3d3307 Code cleanup: data deprecations and some effective visibility stuff
Original commit: cae0388a57
2015-10-19 15:24:22 +03:00
Zalim Bashorov a41d139afe Minor: do simpler check first
Original commit: 5ab3dd1716
2015-10-19 14:01:59 +03:00
Yan Zhulanow 44a607abe3 Error on 'if' without an 'else' branch when used as an expression
Original commit: e14c9645dc
2015-10-19 03:56:15 +03:00
Zalim Bashorov 86acb982e5 Make NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION error
Original commit: de5dc61820
2015-10-18 22:49:08 +03:00
Svetlana Isakova 9f2f66b3b8 Serialize/deserialize annotations on type parameters
Original commit: 25b40455ad
2015-10-16 21:58:47 +03:00
Stanislav Erokhin 3f18729d01 Added static methods, nested classes and companion object from superclasses.
Original commit: d5dbc9638d
2015-10-16 20:42:34 +03:00
Zalim Bashorov 3cde869910 Minor: fix build
Original commit: e54e6a3f31
2015-10-16 16:14:34 +03:00
Alexander Udalov 646d7feb4c Store type parameter names sometimes instead of ids
This helps to reuse instances of types when TypeTable is enabled in cases when
a file or a class contains a lot of functions with type parameters with the
same name (like Maps.kt in the stdlib with "Map<K, V>")

Original commit: 4c21142648
2015-10-15 18:25:40 +03:00
Alexander Udalov 98d448ef96 Support a more optimized way of storing types in metadata
Together with almost every type now there's also an id which references a type
from a separate table. Storing such ids instead of Type messages will allow to
reduce the size of the metadata for files where types are used many times over
and over again. Currently only deserialization of such types is supported,
along with the former mechanism

Original commit: 82d2e623d3
2015-10-15 18:25:39 +03:00
Dmitry Petrov 2fbded1b79 Drop package facades: code cleanup in Kotlin project.
Original commit: 8cd624a58a
2015-10-15 10:33:47 +03:00
Alexander Udalov 4a10df80fb Update IDE tests to use KProperty instead of PropertyMetadata
Original commit: 6a965c9a06
2015-10-14 20:45:55 +03:00
Ilya Chernikov 7df44f01f6 Merge pull request #766 from JetBrains/rr/daemon-fixes
daemon fixes
Original commit: b5537e7d42
2015-10-14 12:21:51 +02:00
Ilya Chernikov a613d67074 Make getDaemonConnection synchronized to avoid racing conditions on connection
Original commit: 5b5ec2cb04
2015-10-14 12:19:59 +02:00
Michael Bogdanov ba98b64776 Fix test data
Original commit: bee0fb6283
2015-10-13 16:17:05 +03:00