pyos
58775275e7
JVM_IR: omit nullability assertions in anonymous object constructors
2019-10-08 17:19:41 +02:00
Ilya Chernikov
37fed8bbc9
Add jvmCompilerIntegrationTest task as a subtask of compilerTest:
...
add embeddable compiler and client tests to it
2019-10-08 17:05:34 +02:00
Ilya Chernikov
1a8bcee86c
Restore embeddable compiler smoke test
...
also move sources and testdata to the appropriate place
2019-10-08 17:05:33 +02:00
Ilya Chernikov
cd4cce3f9f
Refactor embeddable compiler client tests:
...
- move from the legacy location to the project dir
- move testdata from resources to the separate folder (fixes global compileTestKotlin build)
- fix classpaths handling
2019-10-08 17:05:31 +02:00
Mikhail Glukhikh
07e067102b
FIR body resolve: use one scope session per module
...
Gives significant (~5%) performance boost mainly due to use-site scope caching
2019-10-08 17:59:44 +03:00
Alexander Gorshenev
c2c88a9ee6
Use MessageCollector.NONE as a dummy logger collector for js library resolver
2019-10-08 16:56:29 +03:00
Alexander Gorshenev
71eb413350
Attached library resolver to messge collector
2019-10-08 16:56:29 +03:00
Alexander Gorshenev
47fba2ee4b
A couple of fixes for js library resolver
2019-10-08 16:56:29 +03:00
Alexander Gorshenev
e5dbec4523
Commonized FileRegistry with SourceFileMap for klib metadata
2019-10-08 16:56:29 +03:00
Alexander Gorshenev
b7a0546634
The friend module identification has regressed recently
2019-10-08 16:56:29 +03:00
Svyatoslav Kuzmich
18d9e9b2b5
[JS] Make JsExport experimental
...
- JsExport was meant to be experimental from the beginning but
annotation was missing
- Add missing @SinceKotlin
2019-10-08 16:33:17 +03:00
Toshiaki Kameyama
4da7d11364
KT-30643 J2K: wrong position of TYPE_USE annotation ( #2543 )
...
New J2K: fix wrong position of TYPE_USE annotation
#KT-30643 Fixed
2019-10-08 16:21:27 +03:00
Mikhail Glukhikh
58f2348647
FIR buildJavaUseSiteScope: fix visited symbols handling
2019-10-08 16:19:55 +03:00
Mikhail Glukhikh
1e8003e9a8
Use use-site session in buildJavaUseSiteScope
2019-10-08 16:19:55 +03:00
Mikhail Glukhikh
69905ab325
Derive FirClassDeclaredMemberScopeProvider from FirSessionComponent
2019-10-08 16:19:55 +03:00
Mikhail Glukhikh
75a3d2fb97
FirClassDeclaredMemberScope: keep cache in provider but not in ScopeSession
2019-10-08 16:19:55 +03:00
Mikhail Glukhikh
dfa494a21e
FIR: remove duplicate of 'wrapSubstitutionScopeIfNeed'
2019-10-08 16:19:55 +03:00
Mikhail Glukhikh
a0ed03a121
FIR: apply overload conflict resolver even for variable (due to receivers)
2019-10-08 16:19:55 +03:00
Mikhail Glukhikh
4cd8b78779
FIR: eliminate most usages of FirSession.service() and getService()
2019-10-08 16:19:54 +03:00
Mikhail Glukhikh
708d914224
FIR: don't recreate tower resolver / conflict resolver / call completer
2019-10-08 16:19:54 +03:00
Mikhail Glukhikh
9801e06eac
Use .firSymbolProvider instead of service, deprecate FirSession.service
2019-10-08 16:19:54 +03:00
Mikhail Glukhikh
3fee1445b9
Set more precise type in FirQualifiedNameResolver
2019-10-08 16:19:54 +03:00
pyos
432ba62143
JVM_IR: omit annotations on outer this parameters
2019-10-08 14:41:05 +02:00
victor.petukhov
94469827ba
Use new -Xinline-classes compiler flag in the corresponding IDEA intention
2019-10-08 15:17:34 +03:00
Natalia Selezneva
17dcdb59de
Configuration: move scratch tests to separate module
2019-10-08 15:02:32 +03:00
Natalia Selezneva
f2f97a9991
Troubleshooting tests: check that REPL process is stopped before continue test
2019-10-08 15:02:06 +03:00
Alexander Udalov
0c939d2f86
Use correct class file version when copying anonymous objects in inliner
...
Generally, using state.classFileVersion would be enough because we
report an error when inlining bytecode into a class file with a lower
target version (see INLINE_FROM_HIGHER_PLATFORM). However, we take maxOf
with the original version of the class file, _just in case_ the user has
suppressed this error (for example, to workaround some other corner case
in the compiler).
#KT-30744 Fixed
2019-10-08 13:44:40 +02:00
Louis CAD
45ab07654e
Use receiver syntax for lambda execution ( #2508 )
2019-10-08 14:34:55 +03:00
Dmitriy Dolovov
ddc5a62e4a
[Commonizer] Annotations
2019-10-08 18:27:43 +07:00
Dmitriy Dolovov
72869e848d
[Commonizer] Kotlin types
2019-10-08 18:27:36 +07:00
Dmitriy Dolovov
310166443a
[Commonizer] Rename Commonizer IR (CIR) entities
2019-10-08 18:27:29 +07:00
Dmitriy Dolovov
2bc0a3c9c0
Fix KNPE after calling completion in native targeted filesIssue KT-34158 Fixed
2019-10-08 18:27:23 +07:00
Vladimir Dolzhenko
cd32c06df8
Don't grab ref to DeclarationDescriptor into LookupElement, KT-33898
2019-10-08 12:48:33 +02:00
Yan Zhulanow
a4c8ccee06
kapt: Fix compilation in 'compile' running mode (KT-33800)
2019-10-08 19:13:57 +09:00
Yan Zhulanow
66758472c7
Fix EA-209316: Allow null JDI values in captured value data
2019-10-08 19:13:56 +09:00
Yan Zhulanow
d153aa87a8
Fix EA-126019: Handle 'null' PsiType as nullable Any in "Create" actions
2019-10-08 19:13:56 +09:00
Yan Zhulanow
472ec72eb9
Refactor debugger tests
...
1. Move tests to their own module
2. Avoid sharing the 'tinyApp' project between tests
3. Clean up option directive handling
2019-10-08 19:13:56 +09:00
Yan Zhulanow
d8d81c51d7
Move debugger test data to the new location
2019-10-08 19:13:55 +09:00
Yan Zhulanow
b4cc5703de
Minor: Reformat several IDEA debugger tests
2019-10-08 19:13:53 +09:00
Yan Zhulanow
6b2b66e8e3
Run configurations: Fix compatibility with 2018.3
2019-10-08 18:17:07 +09:00
Yan Zhulanow
44b7a5cc36
Make KotlinFacetSettingsProvider.getInstance() nullable
...
A module may not have a KotlinFacet.
It isn't correct to throw an exception in that case.
2019-10-08 18:17:06 +09:00
Yan Zhulanow
f408c249f1
Implement class/method run configurations for MPP projects
2019-10-08 18:17:06 +09:00
Yan Zhulanow
0a8f15c745
Generify Gradle importing tests so they can be used in the Ultimate repo
2019-10-08 18:17:06 +09:00
Yan Zhulanow
82c88f9cc4
Disable alternative locations for new MPP as alternative locations aren't supported in Gradle
2019-10-08 18:17:05 +09:00
Yan Zhulanow
8f4063b36c
Implement test icon provider for 'native' platform
2019-10-08 18:17:05 +09:00
Yan Zhulanow
c19d62af73
Pill: Disable Pill for benchmarks module
2019-10-08 18:17:04 +09:00
Yan Zhulanow
339ba499fb
Pill: Add IDEA Ultimate run configuration
2019-10-08 18:17:04 +09:00
Nikolay Krasko
8cda36ef15
Fix IdeLightClassTestGenerated tests for idea <= 191
2019-10-08 01:04:54 +03:00
Steven Schäfer
e25a09f2f9
JVM IR: Fix local delegated properties with inline class types
2019-10-07 17:12:30 +02:00
Vyacheslav Gerasimov
24a8e1cd9c
Build: Fix maven dependencies for compiler daemon and util-klib-metadata artifacts
2019-10-07 15:18:38 +02:00