Alexander Likhachev
68ced78d89
[Gradle] Rename experimental annotations to opt-in in test data
...
#KT-38111 In Progress
2021-07-16 11:01:14 +03:00
Alexander Likhachev
fa68dbc736
[Gradle] Rename experimental annotations to opt-in annotations in DSL
...
Methods and accessors with old names are preserved in public API and marked as deprecated now
#KT-38111 In Progress
2021-07-16 11:01:12 +03:00
Aleksei.Cherepanov
d9701d57bb
Fix JPS tests after 2d65383a
2021-07-16 05:35:05 +03:00
Ilya Chernikov
c83614386e
[minor] FIR: (temporarily) fix testdata due to different builtins behavior
2021-07-16 02:24:45 +03:00
Ilya Chernikov
02bf745eef
IR: Remove some unused IrBuiltIns methods
2021-07-16 02:24:44 +03:00
Ilya Chernikov
51dc829aae
IR: Move unsigned classes loading from builtins back to symbols
...
see #KT-47540 for the motivation
2021-07-16 02:24:43 +03:00
Ilya Chernikov
808f5148f3
IR: implemented generic knownBuiltIns property
2021-07-16 02:24:42 +03:00
Ilya Chernikov
a7d494480c
[minor] FIR: minor fixes in FIR-based IrBuiltIns
2021-07-16 02:24:41 +03:00
Ilya Chernikov
56805dded8
[minor] IR: minor builtins infrastructure fixes
2021-07-16 02:24:40 +03:00
Ilya Chernikov
19f52d9aae
[minor] FIR: fix irbuiltins implementation after rebase
2021-07-16 02:24:38 +03:00
Ilya Chernikov
873a7c6ef1
FIR: Implement delayed binding of overriddens in the delegated members
...
fixes the problem when overridden symbols on delegated members were
build on the incomplete fake overrides leading to the incorrect
generation of the function for default parameter and thus to the
codegen error (see withDefaultsMultipleFilesOrder test for an example)
2021-07-16 02:24:37 +03:00
Ilya Chernikov
c9b6847d83
FIR: Add test on delegated member with default param in overridden...
...
sensitive to the file processing order, therefore failing on the
current fir2ir at least with the new irBuiltIns
2021-07-16 02:24:36 +03:00
Ilya Chernikov
a2385b5edd
[minor] FIR: Fix Fir2ir jvmmappedscope functions origins
2021-07-16 02:24:35 +03:00
Ilya Chernikov
6001a81a30
[minor] FIR: Fix IR builtins modality
2021-07-16 02:24:34 +03:00
Ilya Chernikov
5b2acea98f
FIR: Add analysis flag for loading IR builtins from sources
2021-07-16 02:24:32 +03:00
Ilya Chernikov
c2c02ddb27
FIR: refactoring IrBuiltIns initialization logic...
...
to allow to try to load them from dependencies first
and to intialize fake overrides properly
2021-07-16 02:24:31 +03:00
Ilya Chernikov
9de27bc4d8
FIR: Avoid "Mutating Fir2Ir lazy elements" error
...
for classes came from sources
2021-07-16 02:24:30 +03:00
Ilya Chernikov
8f5d5c3ace
FIR: Fixes in testdata after implementing FIR-specific IrBuiltIns
2021-07-16 02:24:29 +03:00
Ilya Chernikov
01f26ec699
FIR: Switch to FIR-based IrBuiltIns in FIR compilation
...
get rid of using old FE for builtins on FIR compilation
2021-07-16 02:24:28 +03:00
Ilya Chernikov
3b20ec46ef
FIR: Set correct modality to default accessors on deserialization
...
fixes some tests with new IrBuiltIns
2021-07-16 02:24:27 +03:00
Ilya Chernikov
5b677c068f
FIR: Refactor JvmMappedScope to fix container-related tests with new builtins
2021-07-16 02:24:25 +03:00
Ilya Chernikov
80a710a5c5
FIR: implementing IrBuiltIns over FIR
2021-07-16 02:24:24 +03:00
Ilya Chernikov
cb4999f23c
Native: port native to the new IrBuiltIns
2021-07-16 02:24:22 +03:00
Ilya Chernikov
48a3c64901
IR: Refactor primitive arrays handling in the new IrBuiltIns
...
for better compatibility e.g. with native
2021-07-16 02:24:20 +03:00
Ilya Chernikov
3b2bb2ba9f
IR: Fix error rendering on IR symbol binding conflict
...
it could be called with uninitialized `owner` parameter, leading
to the NPE on render
2021-07-16 02:24:19 +03:00
Ilya Chernikov
dee0487185
IR: Refactor IrBuiltIns to abstract it from descriptors
2021-07-16 02:24:18 +03:00
Nikolay Lunyak
25d2e61a82
[FIR2IR] Adding 2 new runners for fir2ir-specific tests
2021-07-15 23:15:39 +03:00
Alexander Likhachev
a6e477fa88
[Build] Add dependency verification data for jna
2021-07-15 20:41:59 +03:00
Alexander Likhachev
1a77b57a7b
[Gradle] Provide JNA jar to compiler classpath with intellij-core 203+
...
#KT-47748 Fixed
2021-07-15 20:41:57 +03:00
Yahor Berdnikau
da1d49e622
Add new ways to set Kotlin daemon JVM arguments.
...
Additionally to inheriting Gradle daemon arguments or configuring via
Gradle daemon arguments system property, it is also possible now
to configure arguments either using "kotlin.daemon.jvmargs" property
or extension DSL.
Extension DSL overrides special gradle property arguments, which
overrides Gradle daemon arguments.
^KT-45747 Fixed
2021-07-15 17:27:38 +00:00
Dmitry Petrov
b98322c1b4
JVM don't optimize methods with too many TCBs
2021-07-15 20:18:18 +03:00
Dmitry Petrov
d65d66c03a
JVM reserve 2 slots for node predecessors/successors in CFG
2021-07-15 20:18:15 +03:00
Dmitry Petrov
6c2d93bb8b
JVM traverse nodes in reverse order in 'findSafelyReachableReturns'
2021-07-15 20:18:13 +03:00
Mikhael Bogdanov
f080dbb78c
Update resolveAnnotations tests in new infrastructure
2021-07-15 17:08:17 +00:00
Mikhael Bogdanov
671ef7dfff
Regenerate tests
2021-07-15 17:08:16 +00:00
Mikhael Bogdanov
3aeb9291fe
Move resolveAnnotations tests into diagnostics tests
2021-07-15 17:08:16 +00:00
Jinseong Jeon
9ec4d19a3f
FIR IDE: avoid finding symbol for function type parameter
2021-07-15 18:29:33 +02:00
Jinseong Jeon
2e502bd01e
FIR IDE: fix anonymous function symbol retrieval from function literal
2021-07-15 18:29:32 +02:00
Dmitry Petrov
8ea4916d64
JVM_IR KT-47739 recognize fake override external stubs
2021-07-15 19:20:39 +03:00
Ivan Kochurkin
dd54338ec0
[FIR] Fix positioning and detecting of WRONG_NUMBER_OF_TYPE_ARGUMENTS
...
Refactor code and fix compilation errors caused by changes to symbol.fir
2021-07-15 19:02:58 +03:00
Ivan Kochurkin
345152d198
[FIR] Add containingDeclarationSymbol to FirTypeParameter
2021-07-15 19:02:56 +03:00
Ivan Kochurkin
0c25d280ee
[FIR] Fix calculating of source of TypeArgumentList, add source to FirQualifierPart
...
Fix positioning for TYPE_ARGUMENTS_NOT_ALLOWED
2021-07-15 19:02:54 +03:00
Ivan Kochurkin
28a6928873
[FIR] Check rest OUTER_CLASS_ARGUMENTS_REQUIRED diagnostics on checkers stage
...
Add FirOuterClassArgumentsRequiredChecker
2021-07-15 19:02:45 +03:00
Ivan Kochurkin
0fc8be4d60
[FIR] Implement OUTER_CLASS_ARGUMENTS_REQUIRED diagnostics
2021-07-15 19:02:40 +03:00
Yahor Berdnikau
f7ed2f813d
Exclude Gradle Kotlin runtime dependencies from 'no-arg' plugin.
...
This should remove warnings on multiple versions in build classpath
runtime.
^KT-47635 Fixed
2021-07-15 15:27:56 +00:00
Yahor Berdnikau
8db1c52c09
Exclude Gradle Kotlin runtime from 'sam-with-receiver' plugin.
...
This should remove warnings on multiple dependencies versions
in the build classpath runtime.
^KT-47636 Fixed
2021-07-15 15:27:24 +00:00
Mikhail Glukhikh
40c3c317b2
RawFirBuilder: optimize package name calculation in compiler mode
2021-07-15 12:46:23 +00:00
Ilya Goncharov
dcc54101a7
[Gradle, JS] Add test with icremental JS Ir in parallel build
2021-07-15 11:42:48 +00:00
Svyatoslav Kuzmich
a468792a19
[Wasm] Support Milestone 3 of V8 Wasm GC
...
Advance V8 version to 9.2.212
Relevant Wasm GC changes:
https://github.com/WebAssembly/gc/commit/f9f8ffa445c2c0fe4ac284a1d12a8c5477da4457
2021-07-15 10:59:06 +00:00
sebastian.sellmair
9500b2d36e
[Commonizer] Add HierarchicalCInteropCallableAnnotationCommonizationTest.test single platform not marked as objc
2021-07-15 10:04:45 +00:00