Dmitriy Novozhilov
ae522a0375
[FIR] Use source elements instead of psi in ConversionUtils.kt
2020-03-25 11:35:44 +03:00
Dmitriy Novozhilov
318d029fb2
[FIR] Add light source elements to delegated constructor calls
2020-03-25 11:35:43 +03:00
Dmitriy Novozhilov
badd156def
[FIR] Fix some source elements in light tree fir builder
2020-03-25 11:35:43 +03:00
Dmitriy Novozhilov
84ed3f5cf2
[FIR-TEST] Add validation of diagnostics for light tree tests
2020-03-25 11:35:43 +03:00
Dmitriy Novozhilov
86e7faf639
[FIR] Add start offset and end offset to FirSourceElement
2020-03-25 11:35:43 +03:00
Dmitriy Novozhilov
2c37627b15
[FIR] Add unified diagnostics for psi and light tree
2020-03-25 11:35:43 +03:00
Dmitriy Novozhilov
1a3fef5fa1
[FIR] Switch names of FirDiagnostic and ConeDiagnostic
2020-03-25 11:35:43 +03:00
Dmitriy Novozhilov
e6102599ce
[FIR] Rename DefaultErrorMessagesFir
2020-03-25 11:35:43 +03:00
Dmitriy Novozhilov
caafe84611
[FIR-TEST] Get rid of FirDiagnosticsTestLightTreeHelper
2020-03-25 11:35:42 +03:00
Yaroslav Chernyshev
b13b6d86c7
[Gradle, Native] Advanced CocoaPods integration.
2020-03-25 11:20:01 +03:00
Jinseong Jeon
acbe3126b1
FIR: consider all functions in scope when computing dispatch receiver parameter.
2020-03-25 09:20:07 +03:00
Jinseong Jeon
de0c9a5c73
FIR: use dispatch receiver of the enclosing function if any.
2020-03-25 08:27:21 +03:00
Dmitriy Dolovov
a363a5be58
Gradle. Make nativeExtensions in KotlinCompilation optional
2020-03-25 09:29:27 +07:00
Dmitriy Dolovov
c2fa0b2017
Minor. Comments added
2020-03-25 09:29:16 +07:00
Dmitry Petrov
d3be0462b6
Fix callable reference to inline class constructor generation
2020-03-24 22:25:59 +03:00
Vladimir Dolzhenko
dfd42dae1f
Revert back fetchAnalysisResultsForElement
...
Relates to #KT-37467
2020-03-24 18:58:38 +01:00
Ilya Goncharov
c527f8e117
[Gradle, JS] Do not check exit code
...
Because mocha don't make difference between infrastructure and runtime problems and failing tests
This reverts commit e6d39ce7
https://github.com/mochajs/mocha/issues/4216
2020-03-24 19:22:24 +03:00
Ilya Goncharov
930b69bef5
[Gradle, JS] Add checks on module name set before browser and nodejs
...
- Add outputModuleName for compilations
KT-32017
2020-03-24 19:05:45 +03:00
simon.ogorodnik
59393e06f0
[FIR-test] Mute tests with bad test-data
2020-03-24 18:58:19 +03:00
simon.ogorodnik
f83c20065d
[FIR-test] Unmute passing tests, mostly fir2ir
2020-03-24 18:58:19 +03:00
simon.ogorodnik
27136ef8be
[FIR] Support unsigned integer literals
2020-03-24 18:58:18 +03:00
simon.ogorodnik
0afbf25943
[FIR2IR] Implement JvmBackendClassResolver for boxing optimizer
2020-03-24 18:58:18 +03:00
simon.ogorodnik
d71939728a
[FIR] Fix container source for class members
2020-03-24 18:58:18 +03:00
simon.ogorodnik
0acca52001
[FIR-Test] Unmute blackbox test
2020-03-24 18:58:18 +03:00
simon.ogorodnik
29dc45fb66
[FIR] Enable property delegate rendering in html dump
2020-03-24 18:58:17 +03:00
simon.ogorodnik
762861a2e9
[FIR] Adjust abbreviated type rendering in Html dump
2020-03-24 18:58:17 +03:00
simon.ogorodnik
5a3eefcba1
[FIR] Fix suspend functional type deserialization
2020-03-24 18:58:17 +03:00
simon.ogorodnik
4fac6d8fb5
[FIR] Fix abbreviated type deserialization
2020-03-24 18:58:17 +03:00
simon.ogorodnik
2ce697b0b2
[FIR] Resolve type parameter bounds in local class members
2020-03-24 18:58:17 +03:00
simon.ogorodnik
ae54815132
[FIR] Fix varargs of unsigned numbers
2020-03-24 18:58:17 +03:00
simon.ogorodnik
de4666cf0e
[FIR] Fix loading 'is instance' contracts
2020-03-24 18:58:17 +03:00
Ilya Goncharov
4da31f1948
[Gradle, JS] Fix cast
...
#KT-32017 fixed
2020-03-24 17:43:37 +03:00
Ilya Goncharov
5492a93229
[Gradle, JS] Module name for js
...
#KT-32017 fixed
2020-03-24 17:43:37 +03:00
Ilya Goncharov
19afcd7b6b
[Gradle, JS] Introduce semver satisfying for comparison with wildcard
2020-03-24 17:38:17 +03:00
Vladimir Dolzhenko
5441685cb4
Provide idea.platform.prefix in run configurations for 201+
2020-03-24 14:26:35 +00:00
Ilya Goncharov
eabd8cfb5f
[Gradle, JS] KT-37587 Dynamic resolve of karma.config.d
2020-03-24 17:05:16 +03:00
Pavel Kirpichenkov
adf3351a8b
[NI] Don't skip constraints with projections during variable fixation
...
Those constraints are only restored for variable fixation stage because of the
influence on pefrormance.
^KT-37650 Fixed
^KT-37380 Fixed
2020-03-24 16:13:49 +03:00
Victor Turansky
1f6834538b
KT-37587 Karma. Revert input check for 'webpack.config.d' directory
2020-03-24 15:52:52 +03:00
Victor Turansky
4cd4dfee25
KT-37587 Karma. Support dynamically created webpack configs
2020-03-24 15:52:52 +03:00
Ilya Goncharov
7736e5f4a7
[Gradle, JS] Run tasks for legacy target
2020-03-24 15:42:07 +03:00
Roman Golyshev
85bfbaa8a8
Check if returned typeParameters are null
...
- See EA-141456, EA-212070
2020-03-24 15:23:34 +03:00
Ilya Matveev
4171dd511f
Gradle, native: Fix generating platform libs for Windows
2020-03-24 18:54:12 +07:00
Ilya Matveev
6c146f6448
Update K/N version: 1.4-M2-dev-14898
2020-03-24 18:54:12 +07:00
Ilya Matveev
38b5414f30
Gradle, native: Actualize stacktrace format in tests
2020-03-24 18:54:12 +07:00
Ilya Matveev
a51230d307
Gradle, native: Support reinstalling K/N compiler
...
Sometimes a user may need to invalidate all precompiled
caches and regenerate all platform libraries. For example
this may be necessary after updating Xcode since platform
libraries are generated on basis of Xcode frameworks.
This patch provides a simple setting allowing a user
to manually reinstall a K/N compiler.
2020-03-24 18:54:11 +07:00
Ilya Matveev
27f5c577c9
Gradle, native: Generate platform libraries at the user side
...
Since 1.4, a regular K/N distribution will not contain prebuilt
platform libraries, so the libraries must be generated at the
user side.
This patch adds support for such generation to the MPP Gradle
plugin. The generation itself is performed by separate utility
provided by the K/N compiler distribution. The plugin checks
existence of platform libraries for required targets and starts
this utility if some some of these libraries are missing. Building
caches for platform libraries is also performed at this step.
The patch also adds some project properties allowing a user to
workaround potential problems. User will be able to:
- Use a special distribution with prebuilt platform libraries.
- Force building platform libraries in the good old sourcecode mode
in case of some issues with the new metadata mode.
Kotlin/Native counterpart: https://github.com/JetBrains/kotlin-native/pull/3829 .
Issue #KT-32931 Fixed
2020-03-24 18:54:11 +07:00
Mikhail Bogdanov
64a4d09bb3
Add basic synchronization workaround for scratch
2020-03-24 10:58:58 +01:00
Pavel Kirpichenkov
dc18c62dbc
[NI] Filter out type variable from its dependencies
...
Don't take into account complex variable dependency on itself when determining fixation status.
^KT-37621 Fixed
2020-03-24 12:49:18 +03:00
Dmitry Gridin
7f6124254f
Remove redundant plugin-common.xml.191
2020-03-24 09:35:12 +00:00
Dmitry Gridin
32dba0afa2
Move implementation of runForWholeFile field to xml
2020-03-24 09:35:11 +00:00