Commit Graph

76758 Commits

Author SHA1 Message Date
Mikhael Bogdanov c8e84f82eb Proper check NON_JVM_DEFAULT_OVERRIDES_JAVA_DEFAULT in new jvm-default modes
#KT-42699 Fixed
2020-10-15 16:26:00 +02:00
Mikhael Bogdanov b6dc99b98e Skip java defaults in EXPLICIT_OVERRIDE_REQUIRED_IN_MIXED_MODE check
#KT-42674 Fixed
2020-10-15 16:26:00 +02:00
sebastian.sellmair a60febbdfb KotlinMPPGradleProjectResolver: Ensure that artifactsMap is populated when Android plugin applied
#KT-42381 fixed
2020-10-15 13:23:21 +00:00
Victor Turansky b42795a9ea Bump 'com.gradle.plugin-publish' from 0.11.0 to 0.12.0 (#3853) 2020-10-15 15:46:34 +03:00
Juan Chen 09acea5548 [FIR]: Set proper classId to enum entries
FirVisibilityChecker::isVisible checked if a private declaration can be
accessed at a use site by matching class ids of the private
declaration's owner with the use site's containing class
declarations. When the private declaration is defined in an enum
entry and used in the same entry, its owner class id has the enum
entry name, but the use site is in an FirAnonymousObject, which has
"anonymous" as the class id. This causes visibility check to fail.

This PR fixes owner class ids of declarations defined in enum entries
to be the same as normal anonymous objects.
2020-10-15 14:46:22 +03:00
Jinseong Jeon ed188204b4 FIR checker: make property init analyzer path-sensitive
In particular, exception throwing path after finally block is
distinguished via path label.

KT-42350 Fixed
2020-10-15 14:22:39 +03:00
Jinseong Jeon 6fc3f7e776 FIR CFG: label edges from try-enter through finally block to exit target 2020-10-15 14:22:39 +03:00
Jinseong Jeon 43852ad7ab FIR CFG: add edges from try/catch to finally 2020-10-15 14:22:39 +03:00
Jinseong Jeon ea2f773e54 FIR checker: reproduce KT-42350 2020-10-15 14:22:38 +03:00
Alexander Udalov da69e3db7c kotlinx-metadata-jvm: report error on using metadata version < 1.4 in writers
The main reason for this change is that the current API for class
version requirements (`KmClass.versionRequirements`) makes it impossible
to support pre-1.4 metadata where this was stored incorrectly for nested
classes: with the "version requirement table" in the outer class, and
indexes into that table in nested classes. See KT-41011.

Other than this aspect, metadata of classes is basically the same in
pre-1.4 and 1.4, which means that if some kotlinx-metadata-jvm users
really need to serialize metadata of an earlier version and they don't
care about the version requirements issue, they can just use these new
bytes but write the earlier version (e.g. 1.1) to the class file.
Everything will work the same, except for the possible version
requirements issue mentioned above.

Note that metadata version 1.4 is still supported for
`KotlinModuleMetadata.Writer` though.

 #KT-41011 Fixed
2020-10-15 13:10:01 +02:00
Alexander Udalov 5d7d9beb0d kotlinx-metadata-jvm: remove bytecodeVersion from write methods
Bytecode version has never been used meaningfully in Kotlin, and will be
removed in a future release, so there's no point in using it. See
KT-41758.
2020-10-15 13:10:01 +02:00
Alexander Udalov 90d66b0ba5 kotlinx-metadata: reformat, cleanup, fix inspections 2020-10-15 13:10:01 +02:00
Roman Artemev c89c31cd29 [KLIB] Fix package name (js -> common) 2020-10-15 13:55:06 +03:00
Roman Artemev 07a1124b99 [KLIB] Support error code in metadata 2020-10-15 13:55:06 +03:00
Roman Artemev f4830c88b9 [JS IR] Make error code tests modular 2020-10-15 13:55:06 +03:00
Roman Artemev 0f7032051b [JS IR] Fix klib generation (proper order of flags) 2020-10-15 13:55:06 +03:00
Roman Artemev a4945878aa [KLIB] Pass containsErrorCode flag from library/IC cache into deserializer
- Make deserializer track whether error node are allowed.
2020-10-15 13:55:05 +03:00
Roman Artemev 28c6d17ab4 [KLIB] Mark klib that contains error with special flag 2020-10-15 13:55:05 +03:00
Roman Artemev 98e5510871 [KLIB] Support IrError* nodes in serialization 2020-10-15 13:55:05 +03:00
Roman Artemev 934141f8af [KLIB] Support IrError* nodes in klib proto
- add proto messages
 - regenerate java-proto
 - support in reader to make code compiled
2020-10-15 13:55:05 +03:00
Roman Artemev 8ce497c7ef [IR] Add wrapped descriptor for error declaration 2020-10-15 13:55:05 +03:00
Vasily Levchenko 7a8e131850 [kotlin compiler][update] 1.4.30-dev-1514
* 96834d6f4c - (tag: build-1.4.30-dev-1514) Update example for default buildList to not use capacity KT-41136 (#3688) (vor 7 Stunden) <Derek Bodin>
* d9b3f91d73 - (tag: build-1.4.30-dev-1513) Support hasError in ide perf tests vega charts (vor 8 Stunden) <Vladimir Dolzhenko>
* 051d914996 - (tag: build-1.4.30-dev-1508) Align ide perf tests vega charts with json reports camelCase propNames (vor 11 Stunden) <Vladimir Dolzhenko>
* 98efdaa523 - (tag: build-1.4.30-dev-1507) FIR IDE: fix KtTypeRendererTest (vor 11 Stunden) <Ilya Kirillov>
* 5cda4b5ab3 - fix test generator compilation (vor 11 Stunden) <Ilya Kirillov>
* 29151665e1 - FIR IDE: add fir ide plugin tests task (vor 11 Stunden) <Ilya Kirillov>
* bd68b937e5 - FIR: ignore `testdata` directory in testPsiConsistency test (vor 11 Stunden) <Ilya Kirillov>
* 5c798d4e13 - FIR IDE: fix test data in fir-ide module (vor 11 Stunden) <Ilya Kirillov>
* 6086b54a06 - FIR IDE: do preliminary highlighting in completion tests considering exceptions (vor 11 Stunden) <Ilya Kirillov>
* b9cf9d8bc5 - FIR IDE: add missing test dependency (vor 11 Stunden) <Ilya Kirillov>
* 2f093e76b0 - FIR IDE: render resolve phase for lazy resolve tests (vor 11 Stunden) <Ilya Kirillov>
* 9c53c66bb5 - FIR IDE: actualize testdata for idea-frontend-fir module (vor 11 Stunden) <Ilya Kirillov>
* a585d20639 - FIR IDE: fix bodies calculator for property acessors (vor 11 Stunden) <Ilya Kirillov>
* ab4faa52f0 - FIR IDE: add missing IdeSessionComponents for FirIdeBuiltinsAndCloneableSession (vor 11 Stunden) <Ilya Kirillov>
* a22514cf8e - FIR IDE: separate lazy phase into 3 phases, add contracts phase (vor 11 Stunden) <Ilya Kirillov>
* c418140bef - FIR IDE: fix test dependencies (vor 11 Stunden) <Ilya Kirillov>
* dc467f7d6c - FIR: add test which checks that we do not access lazy bodies & lazy expressions till contract phase (vor 11 Stunden) <Ilya Kirillov>
* 7611135a4a - FIR: add raw fir building delegate expression test (vor 11 Stunden) <Ilya Kirillov>
* 971e551bae - FIR IDE: implement lazy delegate initializers (vor 11 Stunden) <Ilya Kirillov>
* 3f9735dd5d - FIR: use enum in RawFirBuilder to indicate its mode: normals, stubs, or lazy bodies (vor 11 Stunden) <Ilya Kirillov>
* 81d4371685 - FIR IDE: generate lazy initializers for properties (vor 11 Stunden) <Ilya Kirillov>
* 7c1170722f - FIR: add FirLazyExpression node (vor 11 Stunden) <Ilya Kirillov>
* 71b5b6df7c - FIR IDE: add tests for lazy resolving single declaration in file (vor 11 Stunden) <Ilya Kirillov>
* f4199a0729 - FIR: add ability to render declaration phase in FirRenderer (vor 11 Stunden) <Ilya Kirillov>
* bbf450703f - FIR: introduce stub bodies raw fir test case (vor 11 Stunden) <Ilya Kirillov>
* d2d330c3be - FIR IDE: implement lazy functions, constructors & accessors bodies building for raw fir (vor 11 Stunden) <Ilya Kirillov>
* 4fae9cbdb0 - FIR: introduce FirLazyBlock node (vor 11 Stunden) <Ilya Kirillov>
* 864800902b - FIR IDE: introduce WeakFirByPsiRef (vor 11 Stunden) <Ilya Kirillov>
* 17748b4499 - (tag: build-1.4.30-dev-1506) [JVM_IR] Fix off-by-one line number error in CoroutineCodegen. (vor 11 Stunden) <Mads Ager>
* 13def12731 - (tag: build-1.4.30-dev-1505) IR: remove unnecessary calls to deepCopyWithSymbols (vor 12 Stunden) <pyos>
* 45a0850d95 - (tag: build-1.4.30-dev-1503) Fix KotlinType.isNullabilityFlexible for types based on type parameters (vor 13 Stunden) <Alexander Udalov>
* fbf56c054b - JVM IR: fix names of $annotations methods for internal properties (vor 13 Stunden) <Alexander Udalov>
* 3f73be391f - JVM IR: fix names of $annotations methods with inline classes in signature (vor 13 Stunden) <Alexander Udalov>
* 1df3bafbaf - (tag: build-1.4.30-dev-1498) Minor, fix and unmute fieldNameClash.kt test (vor 15 Stunden) <Alexander Udalov>
* ec877843fc - (tag: build-1.4.30-dev-1495) [Gradle, K/N] Increase Xmx for MPP tests with native (vor 16 Stunden) <Alexander.Likhachev>
* babc7845af - (tag: build-1.4.30-dev-1489) FirSyntheticPropertiesScope: support case with derived getter (vor 17 Stunden) <Mikhail Glukhikh>
* 2f9b7495fc - [FIR2IR] Make safe call result always nullable (vor 17 Stunden) <Mikhail Glukhikh>
* d623f4d1d6 - (tag: build-1.4.30-dev-1488) Add test for KT-40190 (vor 17 Stunden) <Dmitry Petrov>
* d3f98923dc - (tag: build-1.4.30-dev-1487) [Gradle, JS] Fix K/JS project build with configuration cache enabled (vor 18 Stunden) <Alexander.Likhachev>
* 82a66bc659 - [Gradle, K/N] Remove wasm from VariantAwareDependenciesIT (vor 18 Stunden) <Alexander.Likhachev>
* e505c6473d - [Gradle, K/N] Remove check for export API from libraries producing test (vor 18 Stunden) <Alexander.Likhachev>
* 72ad581fe4 - [Gradle, K/N] Change prefix of apple-specific tests to native-* (vor 18 Stunden) <Alexander.Likhachev>
* 3ab99c1f96 - [Gradle, K/N] Reduce number of targets in MPP tests (vor 18 Stunden) <Alexander.Likhachev>
* 3dda02459d - [Gradle, K/N] Add more cases for cinterop test (vor 18 Stunden) <Alexander.Likhachev>
* be7cc32c10 - [Gradle, K/N] Add export API test for frameworks (vor 18 Stunden) <Alexander.Likhachev>
* 7c2339bcad - [Gradle, K/N] Move compiler version change to separate test (vor 18 Stunden) <Alexander.Likhachev>
* f0aa4a59e3 - [Gradle, K/N] Tests cleanup (vor 18 Stunden) <Alexander.Likhachev>
* 4b68678a36 - [Gradle, K/N] Add release binaries to generate binaries tests (vor 18 Stunden) <Alexander.Likhachev>
* 08ee702d19 - Update Kotlin/Native: 1.4.30-dev-16766 (vor 18 Stunden) <Alexander.Likhachev>
* 5dd1e75793 - [Gradle, K/N] Configure memory properties for tests in single place (vor 18 Stunden) <Alexander.Likhachev>
* 780b85e3ec - [Gradle, K/N] Simplify testNativeTests test by reducing number of targets (vor 18 Stunden) <Alexander.Likhachev>
* 882f442848 - [Gradle, K/N] Simplify native cinterop test (vor 18 Stunden) <Alexander.Likhachev>
* 7523b401c3 - [Gradle, K/N] Remove wasm32 from mpp tests compile tasks (vor 18 Stunden) <Alexander.Likhachev>
* 79ba6df7b8 - [Gradle, K/N] Remove "kotlinx.html" maven repository from tests (vor 18 Stunden) <Alexander.Likhachev>
* 03ee0f60ea - [Gradle, K/N] Add workaround for iOS simulator warning report check (vor 18 Stunden) <Alexander.Likhachev>
* 00cbfa9eb4 - [Gradle, K/N] Simplify native binaries DSL test (vor 18 Stunden) <Alexander.Likhachev>
* 4f8503dc30 - [Gradle, K/N] Reduce number of targets in tests (vor 18 Stunden) <Alexander.Likhachev>
* 8aa9ef5049 - [Gradle, K/N] Enable compiler daemon in tests (vor 18 Stunden) <Alexander.Likhachev>
* 923e7f7de5 - [Gradle, K/N] Create new framework producing test (vor 18 Stunden) <Alexander.Likhachev>
* 76e03842ae - [Gradle, K/N] Refactor native-specific Gradle tests (vor 18 Stunden) <Ilya Matveev>
* 71fe60f4a2 - [Gradle, K/N] Rename native native-specific test projects (vor 18 Stunden) <Ilya Matveev>
* 174e390d2c - [Gradle, K/N] Add separate tasks for native-specific Gradle tests (vor 18 Stunden) <Ilya Matveev>
* d971817c32 - [Gradle, K/N] Move native-specific tests to a separate class from MPP (vor 18 Stunden) <Ilya Matveev>
* 4d28463f1a - (tag: build-1.4.30-dev-1486) FIR CLI: initialize module and dependencies (vor 18 Stunden) <Jinseong Jeon>
* 01ba1cded7 - (tag: build-1.4.30-dev-1481) [Cocoapods] Minor. Fix `CocoaPodsIT`, test data update (vor 21 Stunden) <Yaroslav Chernyshev>
* 36dd883768 - (tag: build-1.4.30-dev-1479) Update testData of testKt28385 for 202 version (vor 21 Stunden) <Alexander Dudinsky>
* 9ef7273641 - (tag: build-1.4.30-dev-1478) Unmute stdlib tests after bootstrap advance. (vor 21 Stunden) <Roman Artemev>
* 3d8b614778 - (tag: build-1.4.30-dev-1472) [Commonizer] Allow debugging through "runCommonizer" Gradle task (vor 24 Stunden) <Dmitriy Dolovov>
* f49f5cb3d5 - [Commonizer] Fix classpath for "runCommonizer" Gradle task (vor 24 Stunden) <Dmitriy Dolovov>
* f27bf04911 - (tag: build-1.4.30-dev-1460) Perf test: remove info markers in testdata before test (vor 31 Stunden) <Ilya Kirillov>
* 4b3455dfa1 - (tag: build-1.4.30-dev-1444) Set backend for the test (vor 35 Stunden) <Pavel Punegov>
* 58ed1bbb64 - (tag: build-1.4.30-dev-1441) Can't use configure action from Immutable state (vor 2 Tagen) <nataliya.valtman>
* 9147aa76b5 - (tag: build-1.4.30-dev-1440) Advance bootstrap to 1.4.30-dev-1423 (vor 2 Tagen) <Dmitriy Novozhilov>
* 052f345a17 - (tag: build-1.4.30-dev-1439) JVM_IR no generic signatures for abstract stubs KT-42609 (vor 2 Tagen) <Dmitry Petrov>
* c8bf74c7d5 - Bytecode listing test fails if JVM and JVM_IR have same testData (vor 2 Tagen) <Dmitry Petrov>
* 51e2b9d33d - (tag: build-1.4.30-dev-1435) Enable signing using gpg in KotlinBuildPublishingPlugin (KTI-355) (vor 2 Tagen) <Nikolay Krasko>
* 1b39a235d8 - (tag: build-1.4.30-dev-1430) JVM IR: sort multifile part names in metadata (vor 2 Tagen) <Alexander Udalov>
* b257b03152 - JVM IR: do not generate JvmName on multifile parts (vor 2 Tagen) <Alexander Udalov>
* 0eccb9661f - JVM IR: simplify staticDefaultFunctionPhase (vor 2 Tagen) <Alexander Udalov>
* 1859d4d340 - JVM IR: avoid quadratic complexity in InheritedDefaultMethodsOnClassesLowering (vor 2 Tagen) <Alexander Udalov>
* 5ca4c2ce1a - (tag: build-1.4.30-dev-1428) Use camelCase propNames in ide perf tests json stats; report hasError (vor 2 Tagen) <Vladimir Dolzhenko>
* bc6693fa6e - (tag: build-1.4.30-dev-1425) FIR2IR: element-wise SAM conversion for vararg (vor 2 Tagen) <Jinseong Jeon>
* 5d394528f6 - (tag: build-1.4.30-dev-1423) Fix double publication of javadoc in kotlin-osgi-bundle (KTI-356) (vor 2 Tagen) <Nikolay Krasko>
* e06ae01c0c - (tag: build-1.4.30-dev-1419) Restore nullability after type refinement along with annotations (vor 2 Tagen) <Dmitry Savvinov>
* ee794f8664 - (tag: build-1.4.30-dev-1414) FIR IDE: add check canceled between diagnostics (vor 2 Tagen) <Ilya Kirillov>
* 9dd3d8fb14 - (tag: build-1.4.30-dev-1409) [NI] Fix extension function check after commonization (vor 2 Tagen) <Pavel Kirpichenkov>
* c53011dd04 - [FIR] mute builder inference test (vor 2 Tagen) <Pavel Kirpichenkov>
* 39a87435ee - [FIR/NI] Refactor type variable gathering from lambda types (vor 2 Tagen) <Pavel Kirpichenkov>
* ef44077cb7 - [FIR] Restore variable fixation direction in call completion (vor 2 Tagen) <Pavel Kirpichenkov>
* 712a2ce1ab - [FIR] Improved lambda completion: initial implementation (vor 2 Tagen) <Pavel Kirpichenkov>
* 5eae6f2f4e - [FIR] Move PostponedArgumentInputTypesResolver to resolution.common (vor 2 Tagen) <Pavel Kirpichenkov>
* 3822a32fce - [FIR] Prepare commonization of PostponedArgumentInputTypesResolver (vor 2 Tagen) <Pavel Kirpichenkov>
* 0685beb765 - (tag: build-1.4.30-dev-1406, tag: build-1.4.30-dev-1405) NI: do substitution type variables during updating trace for lambda (these type variables can appear after the builder inference) (vor 2 Tagen) <Victor Petukhov>
* e399b4cd12 - (tag: build-1.4.30-dev-1396) JVM IR: minor, sort ElementType fields as in the old backend (vor 2 Tagen) <Alexander Udalov>
* 1daeebcdd3 - Minor, add regression test (vor 2 Tagen) <Alexander Udalov>
* 2ff011af17 - (tag: build-1.4.30-dev-1394) JVM_IR: add an assertion and a comment about property references (vor 2 Tagen) <pyos>
* 1663619606 - JVM_IR: add local delegated property metadata to non-synthetic classes (vor 2 Tagen) <pyos>
* 2974004de4 - JVM_IR: make PropertyReferenceLowering less quadratic (vor 2 Tagen) <pyos>
* d7b9920eba - (tag: build-1.4.30-dev-1392, tag: build-1.4.30-dev-1390) Treat field initializer as class initializer (vor 3 Tagen) <Ilmir Usmanov>
* 3b5706972e - Extract effect from lambda argument if it is in parentheses (vor 3 Tagen) <Ilmir Usmanov>
* df64bb3eb7 - JVM_IR emulate JVM hack for generic signatures in KT-18189 (vor 3 Tagen) <Dmitry Petrov>
* f20a695c0e - (tag: build-1.4.30-dev-1386) Minor: Rebase testGenericConstructorCallWithTypeArguments (vor 3 Tagen) <Steven Schäfer>
* c89461e654 - (tag: build-1.4.30-dev-1383) JSpecify: add gradle task to download JSpecify test suite (vor 3 Tagen) <Victor Petukhov>
* d0cd7a4008 - JSpecify: exclude test running from the common `test` task (vor 3 Tagen) <Victor Petukhov>
* 9dab052266 - JSpecify: implement tests generator and test runner with checking compliance of kotlin diagnostics and jspecify marks (vor 3 Tagen) <Victor Petukhov>
* f39e2d4a2d - JSpecify: convert java use sites for existing tests to kotlin ones (vor 3 Tagen) <Victor Petukhov>
* ce44f7d4d3 - JSpecify: implement kotlin use sites to java ones converter (vor 3 Tagen) <Victor Petukhov>
* 520e35baaf - JSpecify: rework tests – replace kotlin use sites to java ones with future j2k conversion (vor 3 Tagen) <Victor Petukhov>
* 8974128be4 - JSpecify: remove annotations unsupported yet (vor 3 Tagen) <Victor Petukhov>
* fb8bba4dfb - Include kotlin reflect test runtime dependency for `tests-java8` module to make jps tests running work (vor 3 Tagen) <Victor Petukhov>
* 677f5ca4e3 - (tag: build-1.4.30-dev-1379) Don't keep ref to ABSENT_KOTLIN_INJECTION in companion object (vor 3 Tagen) <Vladimir Dolzhenko>
* 7c2112d014 - Prepare for KT dynamic plugin: make EP dynamic (vor 3 Tagen) <Vladimir Dolzhenko>
* 0e7e24c498 - (tag: build-1.4.30-dev-1378) Add more diagnostics to address invalid module (vor 3 Tagen) <Vladimir Dolzhenko>
* fa7104213c - (tag: build-1.4.30-dev-1377) Temporary disable test until bootstrap is updated (vor 3 Tagen) <Roman Artemev>
* f824bb6987 - [JS BE] Merge Legacy and IR BE exceptions-related test data (vor 3 Tagen) <Roman Artemev>
* c16b11a124 - [JS IR BE] Fix throwable stuff to make exceptions similar to JVM (vor 3 Tagen) <Roman Artemev>
* ff093d363a - [JS IR BE] Fix Throwable ancestor transformation (vor 3 Tagen) <Roman Artemev>
* 383146f836 -  [JS IR BE] Add compiler instrinsic to express `undefined` value in BE (vor 3 Tagen) <Roman Artemev>
* f794ced888 - (tag: build-1.4.30-dev-1373, origin/push/demiurg906/fir-cfg-dump-fix) [FIR] Fix incorrect cluster creating in CFG dumps (vor 3 Tagen) <Dmitriy Novozhilov>
* 3495ec198d - (tag: build-1.4.30-dev-1360) Minor. Small clean-up in KLIB decompiler (vor 3 Tagen) <Dmitriy Dolovov>
2020-10-15 12:16:22 +02:00
Mikhail Zarechenskiy eacc94a89d Do not hide synthetic properties except isEmpty from Java
In order to hide synthetic property isEmpty from JDK 15, there was
 added additional logic in 5cc12b49fc but
 it also lead to the fact that now it's impossible to call synthetic
 property `declaringClass` on `Enum` as it's in the same list as method
 isEmpty(). Note that it's questionable behavior, probably we should
 also hide `declaringClass` as well but for now we turn it back to
 preserve compatibility

 #KT-42467 Fixed
2020-10-15 12:26:17 +03:00
SvyatoslavScherbina 9b53cded94 Fix secondary constructors of generic inline classes
#KT-42649 Fixed.
2020-10-15 10:22:18 +03:00
Yaroslav Chernyshev 4227e2dc40 [Cocoapods] Fix task and directory naming to avoid subspecs collision
Logics of generating name for dependencies downloaded from git or url
admits producing tasks with forbidden symbols inside name for subspecs.
This fix introduces replacing of forbidden symbols for such purposes.

#KT-42550 Fixed
2020-10-15 09:59:33 +03:00
Sergey Bogolepov b7470495f2 [Clang][Runtime] Move macro definitions to konan.properties
Cleaned up a bit ClangArgs.kt by moving macro definitions to konan.properties.
It is also useful for a future targets refactoring.
2020-10-15 13:11:25 +07:00
Jinseong Jeon b8817d5884 FIR2IR: clean up dead code regarding overriding utils 2020-10-15 08:47:46 +03:00
Jinseong Jeon 5f64d6ec76 FIR2IR: add support for callable reference to Java field
#KT-42656 Fixed
2020-10-15 08:47:46 +03:00
Jinseong Jeon 65545a10c4 FIR: reproduce KT-42656 2020-10-15 08:47:46 +03:00
Derek Bodin 96834d6f4c Update example for default buildList to not use capacity KT-41136 (#3688) 2020-10-15 01:56:57 +03:00
Vladimir Dolzhenko d9b3f91d73 Support hasError in ide perf tests vega charts 2020-10-15 00:09:48 +02:00
Vladimir Dolzhenko 051d914996 Align ide perf tests vega charts with json reports camelCase propNames
fix handling test errors
2020-10-14 21:31:03 +02:00
Ilya Kirillov 98efdaa523 FIR IDE: fix KtTypeRendererTest 2020-10-14 22:11:12 +03:00
Ilya Kirillov 5cda4b5ab3 fix test generator compilation 2020-10-14 22:11:12 +03:00
Ilya Kirillov 29151665e1 FIR IDE: add fir ide plugin tests task 2020-10-14 22:11:11 +03:00
Ilya Kirillov bd68b937e5 FIR: ignore testdata directory in testPsiConsistency test 2020-10-14 22:11:10 +03:00
Ilya Kirillov 5c798d4e13 FIR IDE: fix test data in fir-ide module 2020-10-14 22:11:10 +03:00
Ilya Kirillov 6086b54a06 FIR IDE: do preliminary highlighting in completion tests considering exceptions 2020-10-14 22:11:09 +03:00
Ilya Kirillov b9cf9d8bc5 FIR IDE: add missing test dependency 2020-10-14 22:11:09 +03:00
Ilya Kirillov 2f093e76b0 FIR IDE: render resolve phase for lazy resolve tests 2020-10-14 22:11:08 +03:00
Ilya Kirillov 9c53c66bb5 FIR IDE: actualize testdata for idea-frontend-fir module 2020-10-14 22:11:08 +03:00
Ilya Kirillov a585d20639 FIR IDE: fix bodies calculator for property acessors 2020-10-14 22:11:07 +03:00
Ilya Kirillov ab4faa52f0 FIR IDE: add missing IdeSessionComponents for FirIdeBuiltinsAndCloneableSession 2020-10-14 22:11:06 +03:00
Ilya Kirillov a22514cf8e FIR IDE: separate lazy phase into 3 phases, add contracts phase 2020-10-14 22:11:06 +03:00
Ilya Kirillov c418140bef FIR IDE: fix test dependencies 2020-10-14 22:11:05 +03:00
Ilya Kirillov dc467f7d6c FIR: add test which checks that we do not access lazy bodies & lazy expressions till contract phase 2020-10-14 22:11:04 +03:00
Ilya Kirillov 7611135a4a FIR: add raw fir building delegate expression test 2020-10-14 22:11:04 +03:00
Ilya Kirillov 971e551bae FIR IDE: implement lazy delegate initializers 2020-10-14 22:11:00 +03:00
Ilya Kirillov 3f9735dd5d FIR: use enum in RawFirBuilder to indicate its mode: normals, stubs, or lazy bodies 2020-10-14 22:11:00 +03:00
Ilya Kirillov 81d4371685 FIR IDE: generate lazy initializers for properties 2020-10-14 22:10:59 +03:00