Dmitriy Dolovov
d40bca4143
[Commonizer] Short-circuiting of type aliases
...
^KT-41220
2020-08-24 12:21:12 +07:00
Vyacheslav Gerasimov
8a84af8a6f
Build: Fix idea-gradle test task dependency on dist
2020-08-22 14:11:34 +03:00
Mark Punzalan
a9359eb530
RangeContainsLowering: Handle unsigned ranges.
2020-08-21 21:15:27 +02:00
Mark Punzalan
ceba9f231d
RangeContainsLowering: Fix bug in additional condition order for
...
`until` ranges.
2020-08-21 21:15:27 +02:00
Mark Punzalan
60a2f7d03f
RangeContainsLowering: Handle Comparable ranges.
2020-08-21 21:15:27 +02:00
Mark Punzalan
1c1b1b4b0f
Initial version of RangeContainsLowering, which optimizes calls to
...
contains() on ClosedRanges.
2020-08-21 21:15:27 +02:00
Jinseong Jeon
ca541337d1
FIR: skip return insertion for lambda w/ Unit return type
2020-08-21 19:16:43 +03:00
Alexander Udalov
f1ce668ede
IR: minor, don't store unnecessary fields
2020-08-21 17:52:10 +02:00
Alexander Udalov
26eb51a9f9
Minor, fix generateBuiltins test
2020-08-21 17:51:23 +02:00
Nikolay Krasko
d170f46bfc
Mute flaky fun usages tests
2020-08-21 18:28:21 +03:00
Nikolay Krasko
6293842d81
Mute XCoroutinesStackTraceTestGenerated flaky test
2020-08-21 18:28:21 +03:00
Nikolay Krasko
9d300f56cc
Mark SubpluginsIT.testKotlinVersionDowngradeInSupbrojectKt39809 as flaky
2020-08-21 18:28:21 +03:00
Nikolay Krasko
8f785f6bb2
Mute flaky tests in ContinuationStackTraceTestGenerated
2020-08-21 18:28:21 +03:00
Nikolay Krasko
fd036c2658
Mute flaky tests in JavaAgainstKotlinBinariesCheckerTestGenerated
2020-08-21 18:28:21 +03:00
Roman Artemev
fcca2c6fa3
[JS IR] fix failing test
2020-08-21 17:44:07 +03:00
pyos
5722f889d8
FIR2IR: scan the entire interface tree for delegatable members
2020-08-21 16:50:23 +03:00
Mikhail Glukhikh
99d2fd7c4d
[FIR] Handle open in interface correctly during status resolve
2020-08-21 16:50:23 +03:00
Mikhail Glukhikh
8e2c5bf4fe
[FIR] Fix exposed visibility checking for enum entries
2020-08-21 16:50:22 +03:00
Mikhail Glukhikh
e15e87fded
[FIR] Expand aliased type before checking for exposure
2020-08-21 16:50:22 +03:00
Denis Zharkov
cb6fbc329a
FIR: Simplify FirQualifiedAccess hiearchy
...
Mostly, it's getting rid of FirQualifiedAccessWithoutCallee and FirModifiableQualifiedAccess
The latter was only used during FIR building to set explicit receiver
that might be done by replace call on explicit receiver
The problem with replaceExplicitReceiver is that for FirComponentCall
explicitReceiver should be not null, so it's needed to perform those tricks
at the generatot
2020-08-21 16:34:46 +03:00
Dmitriy Novozhilov
e6837a5b8c
[FIR] Unify implementations of toSymbol and getSymbolByLookupTag
2020-08-21 15:28:34 +03:00
Dmitriy Novozhilov
d1f6e45b08
[FIR] Cleanup signature of getNestedClassifierScope
2020-08-21 15:27:55 +03:00
Dmitriy Novozhilov
ffdc68b68d
[FIR] Get rid of AbstractFirSymbolProviderWithCache
2020-08-21 15:27:55 +03:00
Dmitriy Novozhilov
111b8c0169
[FIR] Cleanup caching symbol in ConeClassLikeLookupTagImpl
...
Type of `boundSymbol` replaced to OneElementWeakMap
`FirSymbolProvider.getSymbolByLookupTag` moved to extensions
2020-08-21 15:27:55 +03:00
Dmitriy Novozhilov
9032234e1d
[FIR] Get rid of FirSymbolProvider.getNestedClassifierScope
2020-08-21 15:27:55 +03:00
Dmitriy Novozhilov
77f52a9ddb
[FIR] Add special inline class for caches which are used in symbol providers
2020-08-21 15:27:55 +03:00
Dmitriy Novozhilov
4b6193159c
[FIR] Get rid of JavaSymbolProvider.getJavaTopLevelClasses
2020-08-21 15:27:54 +03:00
Dmitriy Novozhilov
d7cfb2fb13
[FIR] Get rid of FirSymbolProvider.getClassNamesInPackage
...
There was one non-removable usage of those function in FirJavaElementFinder
and three non-trivial implementation
- `FirProvider.SymbolProvider`
- `KotlinDeserializedJvmSymbolsProvider`
- `FirBuiltinSymbolProvider`
First implementation was moved to `FirProvider` and other two was
deleted, because in FirJavaElementFinder we need lookup only in
classes from source code, so such methods in library providers are
useless
#KT-41048
2020-08-21 15:27:54 +03:00
Dmitriy Novozhilov
b31f80aee3
[FIR] Get rid of FirSymbolProvider.getAllCallableNamesInPackage
...
#KT-41048
2020-08-21 15:27:54 +03:00
Dmitriy Novozhilov
f32a0fe7ad
[FIR-TEST] Unify AbstractFirLoadCompiledKotlin and BuiltInsDeserializationForFirTestCase
2020-08-21 15:27:54 +03:00
Dmitriy Novozhilov
913ea9b56d
[FIR-TEST] Get rid of deprecated methods usage in AbstractFirLoadCompiledKotlin
...
Now complied declaration names are collected via ModuleDescriptor,
so tests pass more correctly. Before this change tests didn't render
compiled typealiases and properties.
Also some testdata was changed because of new order of declaration
2020-08-21 15:27:54 +03:00
Dmitriy Novozhilov
41aa90ad71
[FIR-TEST] Add flag to take memory dumps in modularized test
2020-08-21 15:27:54 +03:00
Dmitriy Novozhilov
cb0b25ea39
[FIR] Replace Deprecated with PrivateForInline in ScopeSession
2020-08-21 15:27:54 +03:00
Dmitriy Novozhilov
b4dc7955b4
[FIR] Avoid collections copying in FirSymbolProvider
2020-08-21 15:27:53 +03:00
Dmitriy Novozhilov
ce36ae64a1
[FIR] Deprecate questionable methods of FirSymbolProvider
2020-08-21 15:27:53 +03:00
Dmitriy Novozhilov
d5bb87cd1f
[FIR] Replace inheritance with delegation for FirProvider and FirSymbolProvider
2020-08-21 15:27:53 +03:00
Dmitriy Novozhilov
ad9e41b828
[FIR] Mark JavaSymbolProvider.getJavaTopLevelClasses as @TestOnly
2020-08-21 15:27:53 +03:00
Dmitriy Novozhilov
1d26ce4a4e
[FIR] Get rid of useless methods in FirSymbolProvider
2020-08-21 15:27:53 +03:00
Dmitriy Novozhilov
f0d05a321d
[FIR-IDE] Use symbolProvider instead of firProvider in KtFirPackageScope
2020-08-21 15:27:53 +03:00
Kirill Shmakov
5a45cc7290
Update wizard tests
2020-08-21 13:06:56 +03:00
Denis Zharkov
cee72023fa
Remove TypeSystemContext::mayBeTypeVariable optimization
...
It doesn't work now since anyway it's required to obtain type
constructor
At the same time, now it's not very expensive to obtain the constructor
since it's just a lookup tag
2020-08-21 12:50:33 +03:00
Denis Zharkov
9ac5dd2bce
FIR: Use lookup tags for as type constructors instead of symbols
...
It may help to avoid redundant symbols lookups
2020-08-21 12:50:33 +03:00
Vladimir Ilmov
34b55dbeb3
(CoroutineDebugger) Disable agent for MPP projects
...
#KT-39412 fixed
2020-08-21 10:35:39 +02:00
Vladimir Dolzhenko
1e96088cc6
Check unique symbols in Goto*Tests
2020-08-21 10:04:36 +02:00
Dmitry Gridin
5f584691a6
[inspections] disable "Redundant inner modifier" inspection
...
^KT-41264 Fixed
2020-08-21 09:28:37 +07:00
Vladimir Dolzhenko
ec253862c6
Check unique symbols in Goto*Tests
2020-08-20 23:50:26 +02:00
Kirill Shmakov
62be688eb7
Wizard: add missing test dependency
2020-08-20 22:33:14 +03:00
Roman Artemev
e7f22bcfbc
[JS IR] Add test for cross module export
2020-08-20 22:16:20 +03:00
Anton Bannykh
136d86e552
[JS IR] Fix cross-module import/export in case per-module splitting
2020-08-20 22:13:39 +03:00
Roman Artemev
8d61e9ba21
[KLIB] Load @JsExport annotated declarations explicitly
2020-08-20 22:13:39 +03:00