Nikolay Krasko
d4fd8b14a6
[MERGE] KT: build-1.5.0-dev-1963 KT/N: 52fe74ede OLD: ece5d9b10
2021-01-26 17:38:13 +03:00
Vasily Levchenko
e9501e82cc
[kotlin compiler][update] 1.5.0-dev-1963
...
* 293f2f9950 - (HEAD -> master, tag: build-1.5.0-dev-1963, origin/push/nk/all, origin/master, origin/HEAD) Build: Replace Bintray with Space for kotlin-dependencies repository (KTI-466) (vor 20 Stunden) <Nikolay Krasko>
* eed0f50c5d - (tag: build-1.5.0-dev-1955) Code cleanup: ConeAttributes (vor 2 Tagen) <Mikhail Glukhikh>
* 94e613dd01 - FIR: support custom annotation-based type attributes (vor 2 Tagen) <Mikhail Glukhikh>
* 4cd6266bce - FIR: fix suspend type serialization (vor 2 Tagen) <Mikhail Glukhikh>
* afe335e504 - FIR: serialize ExtensionFunctionType attribute (vor 2 Tagen) <Mikhail Glukhikh>
* 9e5c9efadf - FIR2IR: don't generate IrGetObject for anonymous objects (vor 2 Tagen) <Mikhail Glukhikh>
* 06ee768c6a - FIR: in case of smart cast, use original type for FirThisRcvrExpression (vor 2 Tagen) <Mikhail Glukhikh>
* 4fd4f504d0 - FIR: make componentX functions operator (vor 3 Tagen) <Mikhail Glukhikh>
* 7934853c8e - Set ABI stability to JVM modules which are built with FIR (vor 3 Tagen) <Mikhail Glukhikh>
* 4a76ea6ecb - (tag: build-1.5.0-dev-1927) JVM: regenerate objects if they have been regenerated in parent contexts (vor 3 Tagen) <pyos>
* ef36b81c67 - (tag: build-1.5.0-dev-1924) [JVM_IR] Reduce the amount of `super` suffixes on accesibility bridges. (vor 3 Tagen) <Mads Ager>
* a33877a9b9 - (tag: build-1.5.0-dev-1914) Fix add import quick fix for unresolved conventional invoke operator (vor 3 Tagen) <Mikhail Zarechenskiy>
* d2ce73853d - Report more specific diagnostic for variable + invoke calls (vor 3 Tagen) <Mikhail Zarechenskiy>
* c423750962 - (tag: build-1.5.0-dev-1913) [TD] Fix incorrect module structure directives in test data file (vor 3 Tagen) <Dmitriy Novozhilov>
* 0d058c7c8c - [Test] Allow parse FILE and MODULE directives with other strings between them in old tests (vor 3 Tagen) <Dmitriy Novozhilov>
* b9e9620ab5 - [TD] Unmute passing Fir2Ir text test (vor 3 Tagen) <Dmitriy Novozhilov>
* 842ed624a7 - [TD] Remove some outdated dumps in FIR_IDENTICAL tests (vor 3 Tagen) <Dmitriy Novozhilov>
* 77115cea92 - [TD] Union ir dumps of different test files (vor 3 Tagen) <Dmitriy Novozhilov>
* 4752924b13 - [TD] Update FQN's in testdata of IR text tests (vor 3 Tagen) <Dmitriy Novozhilov>
* 8286a160bd - [TD] Update order of directives (vor 3 Tagen) <Dmitriy Novozhilov>
* bdcb8aecab - [Test] Migrate AbstractFir2IrTextTest to new infrastructure (vor 3 Tagen) <Dmitriy Novozhilov>
* aba029237d - [Test] Add handler for comparing pretty kt ir dumps (vor 3 Tagen) <Dmitriy Novozhilov>
* 87ffbd8206 - [IR] Collect all dependencies of module recursively (vor 3 Tagen) <Dmitriy Novozhilov>
* aaa3fa5845 - [Test] Migrate IrTextTestGenerated to new infrastructure (vor 3 Tagen) <Dmitriy Novozhilov>
* 5ae5f660f6 - [Test] Add ability to explicitly declare default binary kind for test (vor 3 Tagen) <Dmitriy Novozhilov>
* a2ae618185 - [Test] Introduce IGNORE_ERRORS diagnostic to suppressing backend errors (vor 3 Tagen) <Dmitriy Novozhilov>
* acb6d2e196 - [Test] Allow facades to return null which indicates that facade can't complete it's job (vor 3 Tagen) <Dmitriy Novozhilov>
* 6a7cd0c811 - [Test] Add ability to specify applicability of diagnostic to module or file (vor 3 Tagen) <Dmitriy Novozhilov>
* 28cff22cd0 - [Test] Add ability to specify directive for test file (vor 3 Tagen) <Dmitriy Novozhilov>
* e17153fab9 - (tag: build-1896, tag: build-1.5.0-dev-1901) Minor, improve Ant test on includeRuntime (vor 4 Tagen) <Alexander Udalov>
* a13eb4c8e6 - Ant task: do not include runtime by default if destination is a jar (vor 4 Tagen) <scaventz>
* b0b7f39c75 - (tag: build-1893) FIR: Do not use return statement for type of a block expression (vor 4 Tagen) <Denis.Zharkov>
* 4dc2653736 - FIR: Do not complete finally parts of try-finally (vor 4 Tagen) <Denis.Zharkov>
* 7df4f67f7c - FIR: Minor. Drop unused parameter (vor 4 Tagen) <Denis.Zharkov>
* 9493e68584 - FIR: Do not run completion for lambda's explicit return too early (vor 4 Tagen) <Denis.Zharkov>
* 5afebb4e78 - FIR: Transform synthetic calls children even without incomplete candidate (vor 4 Tagen) <Denis.Zharkov>
* 5f0d00a83f - FIR: Use proper tower data contexts for postponed callable references (vor 4 Tagen) <Denis.Zharkov>
* ad30c6c380 - FIR: Fix callable references resolution when they're being returned from lambdas (vor 4 Tagen) <Denis.Zharkov>
* 0e368cc237 - FIR: Analyze return statements for implicit lambda with independent context (vor 4 Tagen) <Denis.Zharkov>
* 5e83e10a72 - FIR: Add callable references nodes to CFG (vor 4 Tagen) <Denis.Zharkov>
* 6dc0440cd0 - (tag: build-1.5.0-dev-1889) Remove commented code in previous commit (vor 4 Tagen) <Alexander Dudinsky>
* 71e74497b5 - (tag: build-1.5.0-dev-1888) Use `addTestJdk`&`removeTestJdk` methods instead `addJdk`&`removeJdk` (vor 4 Tagen) <Alexander Dudinsky>
* 20843b6894 - (tag: build-1.5.0-dev-1887) Remove error suppression in KotlinChangeSignatureDialog (vor 4 Tagen) <Mikhail Glukhikh>
* 628d6a9c30 - (tag: build-1.5.0-dev-1880) Don't store logger in instance field (vor 4 Tagen) <Pavel Kirpichenkov>
* 5003738d29 - Fix: use idea caches correctly (vor 4 Tagen) <Pavel Kirpichenkov>
* 87c6b6bffc - (tag: build-1.5.0-dev-1878) Revert "Set canBeConsumed = false on the deprecated configurations like compile" (vor 4 Tagen) <Sergey Igushkin>
* 2e660ef62a - (tag: build-1.5.0-dev-1875) Raw FIR: use lambda parameter type if available (vor 4 Tagen) <Jinseong Jeon>
* fa0b933bc8 - FIR checker: add diagnostics for missing/ambiguous component calls (vor 4 Tagen) <Jinseong Jeon>
* 83b9c29495 - FIR checker: relocate sealed class ctor call checker (vor 4 Tagen) <Jinseong Jeon>
* 5f0eb8a401 - FIR checker: minor cleanups (vor 4 Tagen) <Jinseong Jeon>
* be29b6d64d - FIR checker: use aliased checker when possible (part 2) (vor 4 Tagen) <Jinseong Jeon>
* de592f4f67 - FIR checker: introduce FunctionChecker alias (vor 4 Tagen) <Jinseong Jeon>
* 40bec30393 - FIR: implement LT positioning in diagnostic tests, fix LT strategies (vor 4 Tagen) <Mikhail Glukhikh>
* f1d8a6e5d1 - FIR checker: introduce DECLARATION_SIGNATURE_OR_DEFAULT positioning strategy (vor 4 Tagen) <Jinseong Jeon>
* 2e4daee1d4 - (tag: build-1.5.0-dev-1874) [FIR] Fix invalid diagnostic fir node sites and improved invalid type parameters count diagnostic report (vor 4 Tagen) <Igor Yakovlev>
* b7d3469819 - [FIR] Remove transform/accept from FirResolvedTypeRef.delegateTypeRef (vor 4 Tagen) <Simon Ogorodnik>
* 243f85a4d6 - [FIR IDE] Add base support for FIR incomplete types resolve (vor 4 Tagen) <Igor Yakovlev>
* 704366e531 - (tag: build-1.5.0-dev-1869) JVM: Mark suspend lambda receiver as used if callable reference (vor 4 Tagen) <Ilmir Usmanov>
* de00f72fa3 - (tag: build-1.5.0-dev-1863) Generate linenumber for inline call site in case of implicit iterator/hasNext/next calls in for loop (vor 4 Tagen) <Mikhael Bogdanov>
* dfacccf84f - (tag: build-1.5.0-dev-1862) Set canBeConsumed = false on the deprecated configurations like compile (vor 4 Tagen) <Sergey Igushkin>
* 6e913e16ad - Add integration tests for Kapt + Android Gradle plugin 7.0 (vor 4 Tagen) <Sergey Igushkin>
* 341b87fad0 - Use `implementation` instead of `compile` in GradleIT, fix versions (vor 4 Tagen) <Sergey Igushkin>
* 17b71555e0 - KT-43944: Don't access Android test source sets' API configurations (vor 4 Tagen) <Sergey Igushkin>
* 77ffc318f2 - (tag: build-1.5.0-dev-1860) KT-44250 [Sealed interfaces]: completion fails for 'when' with sealed (vor 4 Tagen) <Andrei Klunnyi>
* 14108011ee - (tag: build-1.5.0-dev-1853) [FIR] Fix inferring arguments of bare types in different situations (vor 4 Tagen) <Dmitriy Novozhilov>
* b99f1a1512 - (tag: build-1.5.0-dev-1847) FIR checker: error messages for function diagnostics (vor 4 Tagen) <Jinseong Jeon>
* 021395ce39 - FIR checker: error message for destructuring declaration diagnostic (vor 4 Tagen) <Jinseong Jeon>
* 35093e0958 - FIR checker: error messages for properties/accessors diagnostics (vor 4 Tagen) <Jinseong Jeon>
* 952576e98f - (tag: build-1.5.0-dev-1837) JVM_IR: Do not unbox Result parameter if it not only one inline class (vor 5 Tagen) <Ilmir Usmanov>
* d48f92775b - JVM_IR: Do not unbox Result parameter in invoke if there is a bridge (vor 5 Tagen) <Ilmir Usmanov>
* 0ddb603eaa - (tag: build-1.5.0-dev-1836) [JS IR] Fix of test with method in abstract class calling extension on super type (vor 5 Tagen) <Ilya Goncharov>
* 9c4f8f7e54 - (tag: build-1.5.0-dev-1835) JVM IR: Fix signature mapping for inline classes using new mangling (vor 5 Tagen) <Steven Schäfer>
* 91717cdcdd - (tag: build-1.5.0-dev-1822) Perform inline checks in IR tests (vor 5 Tagen) <Mikhael Bogdanov>
* 216b775095 - Remove obsolete code (vor 5 Tagen) <Mikhael Bogdanov>
* 147d60523d - Generate inline function arguments with parameters types (vor 5 Tagen) <Mikhael Bogdanov>
* 50ab9ed054 - [JS IR] Add test on interface with default method calling extension method on super-interface (vor 5 Tagen) <Ilya Goncharov>
* 5c28762c02 - (tag: build-1.5.0-dev-1765, tag: build-1.5.0-dev-1760) Fix check for local classes in approximating string table (vor 5 Tagen) <Pavel Kirpichenkov>
* b66f5c8180 - Drop type aliases for JS and KLIB string tables (vor 5 Tagen) <Pavel Kirpichenkov>
* 2f3f75b512 - Fix local anonymous class name error in K2MetadataCompiler (vor 5 Tagen) <Pavel Kirpichenkov>
* b82a44fa63 - Add test for KT-20996 (vor 5 Tagen) <Pavel Kirpichenkov>
* cce9469e6a - (tag: build-1.5.0-dev-1753) JVM_IR: Do not unbox Result parameter in Result methods (vor 5 Tagen) <Ilmir Usmanov>
* 10d9259df5 - (tag: build-1.5.0-dev-1738) Returned support for nullable types by not null serializers (vor 6 Tagen) <Sergey Shanshin>
* b476f1cc3e - (tag: build-1.5.0-dev-1727) Minor. Change test to use the feature instead of suppressing error (vor 6 Tagen) <Ilmir Usmanov>
* d1ee45b518 - Add language feature for suspend functions in fun interfaces (vor 6 Tagen) <Ilmir Usmanov>
* 6aa6f82c47 - (tag: build-1.5.0-dev-1723) Fix MultiplatformModelImportingContextImpl#isOrphanSourceSet predicate (vor 6 Tagen) <Yaroslav Chernyshev>
* cf228bebc3 - (tag: build-1.5.0-dev-1722) Use static year range in copyright of generated FIR and tests (vor 6 Tagen) <Svyatoslav Kuzmich>
* ba8223218f - [Wasm] Add inline property accessors optimization (vor 6 Tagen) <Svyatoslav Kuzmich>
* 2aa3c197a3 - [Wasm] Use non-persistent IR to speed up tests (vor 6 Tagen) <Svyatoslav Kuzmich>
* 11a3126c8c - (tag: build-1.5.0-dev-1719) FIR: copy class supertypes list on iterating while calculating supertypes (vor 6 Tagen) <Ilya Kirillov>
* a0ad85e20d - (tag: build-1.5.0-dev-1716, origin/rr/4u7/wip) Build: Disable caching of test tasks (vor 6 Tagen) <Vyacheslav Gerasimov>
* 284d42fd2b - (tag: build-1.5.0-dev-1710) Use camelCase for cacheKind control property (vor 6 Tagen) <Sergey Bogolepov>
* 29f95c7df2 - (tag: build-1.5.0-dev-1690) FIR: improve inference of implicit type arguments in casts (vor 7 Tagen) <pyos>
* acdc1f532b - (tag: build-1.5.0-dev-1682) Rewrite CommonizerTask params to fix ^KT-42098 (vor 7 Tagen) <sebastian.sellmair>
* 23332bac13 - (tag: build-1.5.0-dev-1665) More precise message for "this test can be unmuted" (vor 7 Tagen) <Shagen Ogandzhanian>
* 6331a135c8 - (tag: build-1.5.0-dev-1662) Add LightClassUtil.getLightClassMethodsByName to avoid resolving all lightClassMethods and filtration later on (vor 7 Tagen) <Vladimir Dolzhenko>
* 167bfcf6ea - (tag: build-1.5.0-dev-1658) Minor. Remove accidentally added bunch file (vor 7 Tagen) <Ilmir Usmanov>
* bf5feb1b4a - (tag: build-1.5.0-dev-1657) Remove KotlinMetadataTarget's KotlinTargetComponent in favour of KotlinSoftwareComponent.kt ^KT-44322 fixed (vor 7 Tagen) <Sebastian Sellmair>
* 9a5791ad6d - (tag: build-1.5.0-dev-1654) FIR: use correct context for enum entry resolve (vor 7 Tagen) <Mikhail Glukhikh>
* f85fc47383 - FIR: introduce separate companion object resolve context (vor 7 Tagen) <Mikhail Glukhikh>
* f282c3e547 - Cleanup: FirTowerResolveTask (vor 7 Tagen) <Mikhail Glukhikh>
* 9f06c1a500 - FIR cleanup: runResolverForDelegatingConstructor (vor 7 Tagen) <Mikhail Glukhikh>
* 6cee4e968e - [FIR] Don't call componentX for anonymous destructuring entry (vor 7 Tagen) <Mikhail Glukhikh>
* 795bd26eaf - FIR bootstrap: don't use -Werror in useFIR mode (vor 7 Tagen) <Mikhail Glukhikh>
* 3787018e40 - [FIR] Fix parameter index storage in contract serializer (vor 7 Tagen) <Mikhail Glukhikh>
* 12caf5d743 - Fix test BE JvmBoxRunner to be able to see FIR BB tests exceptions (vor 7 Tagen) <Mikhail Glukhikh>
2021-01-26 17:38:03 +03:00
Alexander Shabalin
b06a870011
Trust mimalloc to be thread safe ( #4649 )
2021-01-26 17:38:03 +03:00
Alexander Shabalin
d633b1c545
Mark safe points in code generator ( #4640 )
2021-01-26 17:38:03 +03:00
Dmitriy Dolovov
9e62134ea0
1.4.30-RC changelog
2021-01-26 17:38:03 +03:00
Alexander Shabalin
687cf20d7d
Deal with FrameOverlay in the new mm ( #4646 )
2021-01-26 17:38:03 +03:00
Alexander Shabalin
77e2b9f9a0
Disable running checkers by default ( #4644 )
...
* Make checkers be disabled by default
* Allow running checkers in test launcher
2021-01-26 17:38:03 +03:00
LepilkinaElena
71f44dce0f
Added StringTrimLowering to pipeline ( #4647 )
2021-01-26 17:38:02 +03:00
Pavel Punegov
73297a4ef3
Remove obsolete comments in the test
2021-01-26 17:38:02 +03:00
Pavel Punegov
6cc74a1b66
Better fix for the test: check for NUSInteger size
2021-01-26 17:38:02 +03:00
Pavel Punegov
9807a92fa7
Fix Unsigned long type encoding according to the ObjC encode rules
2021-01-26 17:38:02 +03:00
Pavel Punegov
b565562a1f
Fix architecture check in the test
2021-01-26 17:38:02 +03:00
Pavel Punegov
e241d1249c
Fix NSUInteger size for Watchos x64
2021-01-26 17:38:02 +03:00
Alexander Shabalin
6cc60ad6a2
Support sanitizers in runtime tests ( #4622 )
2021-01-26 17:38:02 +03:00
Sergey Bogolepov
3ee8d98726
Mention new per-target cache setting in error message.
2021-01-26 17:38:02 +03:00
Ying Li
26248bb9b1
fix minor typo ( #4629 )
...
* fix minor typo
* fix sample code format
2021-01-26 17:38:02 +03:00
SaintMalik
e8804dc53d
Fix broken url in docs
...
## Summary
Easy navigation and easy reading for others
2021-01-26 17:38:02 +03:00
LepilkinaElena
a403b9ff05
Support for stable and unstable benchmarks. Refactoring to get separate tables for metrics. ( #4641 )
2021-01-26 17:38:02 +03:00
Nikolay Krasko
293f2f9950
Build: Replace Bintray with Space for kotlin-dependencies repository (KTI-466)
2021-01-24 15:04:41 +03:00
Mikhail Glukhikh
eed0f50c5d
Code cleanup: ConeAttributes
2021-01-23 10:56:43 +03:00
Mikhail Glukhikh
94e613dd01
FIR: support custom annotation-based type attributes
2021-01-23 10:56:42 +03:00
Mikhail Glukhikh
4cd6266bce
FIR: fix suspend type serialization
2021-01-23 10:56:40 +03:00
Mikhail Glukhikh
afe335e504
FIR: serialize ExtensionFunctionType attribute
2021-01-23 10:56:37 +03:00
Mikhail Glukhikh
9e5c9efadf
FIR2IR: don't generate IrGetObject for anonymous objects
2021-01-23 10:56:36 +03:00
Mikhail Glukhikh
06ee768c6a
FIR: in case of smart cast, use original type for FirThisRcvrExpression
...
Before this commit, we used type after smart cast both for original
FirThisReceiverExpression and for wrapping FirExpressionWithSmartCast.
However, this makes FIR2IR implicit cast generator work incorrectly
(it decides not to insert implicit cast because original type is the same).
After this commit, expressions have different types and implicit cast
generator works properly.
2021-01-23 10:56:34 +03:00
Mikhail Glukhikh
4fd4f504d0
FIR: make componentX functions operator
2021-01-22 18:11:57 +03:00
Mikhail Glukhikh
7934853c8e
Set ABI stability to JVM modules which are built with FIR
2021-01-22 18:11:57 +03:00
pyos
4a76ea6ecb
JVM: regenerate objects if they have been regenerated in parent contexts
...
This is a hack to work around the fact that type mappings should not be
inherited by inlining contexts for lambdas called from anonymous
objects. As the lambda can call the inline function again, this could
produce a reference to the original object, which is remapped to a new
type in the parent context. Unfortunately, there are many redundant
`MethodRemapper`s between the lambda and the class file, so simply
editing `TypeRemapper` does not work. Hence, this hack. For now.
(Issue found by compiling IntelliJ IDEA BTW.)
2021-01-22 13:39:20 +01:00
Mads Ager
ef36b81c67
[JVM_IR] Reduce the amount of super suffixes on accesibility bridges.
...
The super suffix was used for any static field/method that needed
an accessor. We should only use it when that field or method is
inherited.
2021-01-22 13:20:25 +01:00
Mikhail Zarechenskiy
a33877a9b9
Fix add import quick fix for unresolved conventional invoke operator
...
After adding extension invoke on DeepRecursiveFunction in 1.4,
the compiler start reporting another error and now it doesn't write
info about callable descriptor. Therefore it's needed to use another
source of info for expression type
^KT-40926 Fixed
2021-01-22 13:57:47 +03:00
Mikhail Zarechenskiy
d2ce73853d
Report more specific diagnostic for variable + invoke calls
...
Do not report same set of diagnostics for variable call if actual
error was happened with a function candidate. Here the candidate is
invoke function on DeepRecursiveFunction
^KT-40991 Fixed
^KT-41491 Fixed
^KT-40926 In Progress
2021-01-22 13:57:47 +03:00
Dmitriy Novozhilov
c423750962
[TD] Fix incorrect module structure directives in test data file
2021-01-22 13:51:34 +03:00
Dmitriy Novozhilov
0d058c7c8c
[Test] Allow parse FILE and MODULE directives with other strings between them in old tests
2021-01-22 13:51:33 +03:00
Dmitriy Novozhilov
b9e9620ab5
[TD] Unmute passing Fir2Ir text test
2021-01-22 13:51:32 +03:00
Dmitriy Novozhilov
842ed624a7
[TD] Remove some outdated dumps in FIR_IDENTICAL tests
2021-01-22 13:51:31 +03:00
Dmitriy Novozhilov
77115cea92
[TD] Union ir dumps of different test files
2021-01-22 13:51:30 +03:00
Dmitriy Novozhilov
4752924b13
[TD] Update FQN's in testdata of IR text tests
2021-01-22 13:51:29 +03:00
Dmitriy Novozhilov
8286a160bd
[TD] Update order of directives
2021-01-22 13:51:27 +03:00
Dmitriy Novozhilov
bdcb8aecab
[Test] Migrate AbstractFir2IrTextTest to new infrastructure
2021-01-22 13:51:26 +03:00
Dmitriy Novozhilov
aba029237d
[Test] Add handler for comparing pretty kt ir dumps
2021-01-22 13:51:25 +03:00
Dmitriy Novozhilov
87ffbd8206
[IR] Collect all dependencies of module recursively
2021-01-22 13:51:24 +03:00
Dmitriy Novozhilov
aaa3fa5845
[Test] Migrate IrTextTestGenerated to new infrastructure
2021-01-22 13:51:23 +03:00
Dmitriy Novozhilov
5ae5f660f6
[Test] Add ability to explicitly declare default binary kind for test
2021-01-22 13:51:22 +03:00
Dmitriy Novozhilov
a2ae618185
[Test] Introduce IGNORE_ERRORS diagnostic to suppressing backend errors
2021-01-22 13:51:21 +03:00
Dmitriy Novozhilov
acb6d2e196
[Test] Allow facades to return null which indicates that facade can't complete it's job
...
This is needed for cases when test pipeline assumes that some part of
pipeline may be unavailable because of errors on previous stage.
For example, this may occur in some test which check something on IR
but contains backend facade for compiling binary dependencies. In
this case testdata with frontend errors is allowed if test has only
one module which should not be compiled
2021-01-22 13:51:20 +03:00
Dmitriy Novozhilov
6a7cd0c811
[Test] Add ability to specify applicability of diagnostic to module or file
2021-01-22 13:51:19 +03:00
Dmitriy Novozhilov
28cff22cd0
[Test] Add ability to specify directive for test file
...
Rules of directives resolving:
- If no `MODULE` or `FILE` was declared in test then all directives
belongs to module
- If `FILE` is declared, then all directives after it will belong to
file until next `FILE` or `MODULE` directive will be declared
- All directives between `MODULE` and `FILE` directives belongs to module
- All directives before first `MODULE` are global and belongs to each
declared module
2021-01-22 13:51:17 +03:00
Alexander Udalov
e17153fab9
Minor, improve Ant test on includeRuntime
...
Also check that we _do_ include runtime if includeRuntime is true.
2021-01-21 18:29:19 +01:00
scaventz
a13eb4c8e6
Ant task: do not include runtime by default if destination is a jar
2021-01-21 18:29:19 +01:00
Denis.Zharkov
b0b7f39c75
FIR: Do not use return statement for type of a block expression
...
Type of a block is a kind of irrelevant for lambdas: their type is much
more complicated and defined via FirDataFlowAnalyzer#returnExpressionsOfAnonymousFunction
at at FirCallCompleter.LambdaAnalyzerImpl#analyzeAndGetLambdaReturnArguments
2021-01-21 18:53:03 +03:00