Mikhail Glukhikh
0ded1d7006
FirBasedSignatureComposer: generate better error messages
2020-07-24 19:47:28 +03:00
Mikhail Glukhikh
40256aa43d
Fir2IrLazyClass: generate enum values() / valueOf() properly
2020-07-24 19:47:28 +03:00
Mikhail Glukhikh
8bae0f2d0c
[FIR2IR] Handle local visibility around signature composer properly
2020-07-24 19:47:27 +03:00
Mikhail Glukhikh
828524bde4
[FIR2IR] Fix conversion of default vararg arguments for annotations
2020-07-24 19:47:27 +03:00
Mikhail Glukhikh
240baa64a5
Fir2IrConverter: initialize call generator earlier to avoid lateinit err
2020-07-24 19:47:26 +03:00
Mikhail Glukhikh
2b52988f1b
[FIR TEST] Add failing BB test with Deprecated annotation
2020-07-24 19:47:19 +03:00
Denis Zharkov
df1719c64c
Fix incorrect mixed named/positioned arguments in project code
...
^KT-40404 Fixed
2020-07-24 13:36:52 +03:00
Denis Zharkov
dc6efa5a61
Fix incorrect handling of mixed named/positional arguments
...
^KT-40404 Fixed
2020-07-24 13:36:52 +03:00
Mikhail Bogdanov
d083297366
Support additional flags in MPP tests. Add diagnostic tests for defaults
2020-07-24 12:10:04 +02:00
Mikhail Bogdanov
125c72cb8d
New default checks for mixed hierarchies
...
Old and new schemes
2020-07-24 12:10:04 +02:00
Denis Zharkov
de02b31ad7
FIR: Use phasedFir in resolve
...
^KT-40376 Fixed
2020-07-24 12:32:29 +03:00
Yaroslav Chernyshev
0de29e641d
Fixed bug with pureKotlinSourceFolders for common modules
2020-07-24 12:22:00 +03:00
Yaroslav Chernyshev
142bd2e009
Filtering pureKotlinSourceFolders for existing package directories
2020-07-24 12:21:59 +03:00
Yaroslav Chernyshev
e6670d439f
Small renaming classifier -> disambiguationClassifier
2020-07-24 12:21:58 +03:00
Yaroslav Chernyshev
96d9dad429
Fixed tests for pureKotlinSourceFolders by extending created facets
2020-07-24 12:21:57 +03:00
Yaroslav Chernyshev
f490085142
Support pureKotlinSourceFolders for MPP projects
...
#KT-34271 Fixed
#KT-32963 Fixed
2020-07-24 12:21:57 +03:00
nataliya.valtman
fde8a34c32
KT-40058 NPE from mpp gradle plugin on kotlinx.benchmarks
2020-07-24 10:46:45 +03:00
Ivan Kylchik
bc41681a2e
Fix gradle import error after introducing new gradle task in benchmarks
2020-07-23 21:18:32 +03:00
Vyacheslav Gerasimov
96ac6e612d
Build: Replace androidIdeTest task with kaptIdeTest
...
We dont run android ide tests anymore
2020-07-23 19:18:18 +03:00
Vyacheslav Gerasimov
803d24cd42
Build: Remove pluginTests task and deduplicate kapt test task
2020-07-23 19:18:17 +03:00
Vyacheslav Gerasimov
ee642e69b0
Build: Introduce mainIdeTests task
2020-07-23 19:18:17 +03:00
Dmitry Petrov
e2a4ca10d6
JVM_IR: fix inner class attributes for private class in interface
2020-07-23 19:13:28 +03:00
Dmitry Petrov
0741781462
Compare inner class access flags in bytecode listing tests
2020-07-23 19:13:28 +03:00
Natalia Selezneva
8d894929ae
Minor: unify logging in scripting
2020-07-23 16:31:32 +03:00
Natalia Selezneva
8a6cdcba29
Do not hold a lock during loading script templates from dependencies
...
^KT-40383 Fixed
2020-07-23 16:24:13 +03:00
Natalia Selezneva
493c287bb0
Minor: fix notification text when script configuration is missing after request
2020-07-23 16:20:57 +03:00
Ivan Kylchik
265873becd
Comment out runBenchmark tasks due to gradle import error
2020-07-23 15:20:35 +03:00
Roman Golyshev
be06c51aa7
KT-40363 Handle non-octal int literals in for-loop conversions
...
- See EA-210233
- ^KT-40363 Fixed
2020-07-23 11:24:48 +00:00
Roman Golyshev
cba671a3ef
KT-40359 Catch NumberFormatException during literal conversion
...
- Instead of failing J2K conversion completely, insert TODO expression
to the resulting code (it is better to have a converted code with TODO
than to have nothing at all)
- See EA-210233 for similar exceptions
- ^KT-40359 Fixed
2020-07-23 11:24:48 +00:00
Roman Golyshev
cc0a787735
Add null-checking to KotlinIdeaResolutionException constructors
...
- NPE here leads to loosing the actual exception
- EA-235059 Fixed
2020-07-23 11:24:47 +00:00
Nicolay Mitropolsky
f7031e65ba
Uast: don't throw exception if can't get a receiver parameter for annotation (KT-40494)
2020-07-23 10:33:44 +03:00
Jinseong Jeon
7872b21914
FIR: handle object invoke via type alias
2020-07-23 09:34:42 +03:00
Svyatoslav Kuzmich
4a803e9d2f
[JS IR] Support object declaration export
...
Fixes KT-39117 and KT-39367
2020-07-23 08:21:59 +03:00
Svyatoslav Kuzmich
4027dae594
[JS] Add js/js.translator/testData/package-lock.json
2020-07-23 08:21:57 +03:00
Natalia Selezneva
be371c9294
Remove optimization in KotlinScriptDependenciesClassFinder
...
Scope can contains only classes for one script,
but allScriptDependenciesScope contains classes for all scripts
2020-07-23 00:00:51 +03:00
Natalia Selezneva
be8374a1a8
Minor: fix comments
2020-07-23 00:00:50 +03:00
Natalia Selezneva
e708e3f1c5
Do not suggest to load gradle.kts configurations after project reopening
...
For projects with distributionType=WRAPPED
Workaround for KT-40394
The original problem is that GradleInstallationManager.resolveGradleVersion returns null is case of distributionType=WRAPPED
^KT-40394 Fixed
2020-07-23 00:00:50 +03:00
Natalia Selezneva
300e9581de
Fix UI for Kotlin Scripting page
...
Show 15 items in the list by default
Show hint at the top
Fixed for 201+
^KT-40097 Fixed
2020-07-22 23:49:47 +03:00
Natalia Selezneva
dd20b9062a
Completion for script inside module should provide classes from related module
...
^KT-35825 Fixed
2020-07-22 23:49:47 +03:00
Alexander Udalov
65d3ae6253
JS IR: move declaration creation from IrBuilder to JsIrDeclarationBuilder
...
This is a temporary class until IrDeclarationFactory is there.
2020-07-22 22:40:08 +02:00
Alexander Udalov
d3a34a8898
Psi2Ir: somewhat simplify Psi2IrTranslator API
...
Inline some methods only used once, deduplicate usages, rearrange
parameters, etc.
2020-07-22 22:38:21 +02:00
Alexander Udalov
241f82c70f
IR: avoid storing unnecessary fields in IrPropertyImpl
2020-07-22 22:38:21 +02:00
Alexander Udalov
3f06f8a6ba
IR: avoid storing unnecessary fields in IrFunctionImpl
2020-07-22 22:38:20 +02:00
Alexander Udalov
517c3e1020
IR: introduce IrFakeOverrideFunction, IrFakeOverrideProperty
...
Use them instead of the implementations. This will allow to refactor
creation to a factory and allow to use other implementations in the
future.
2020-07-22 22:38:20 +02:00
Alexander Udalov
ca5eb40fa5
IR: minor, avoid usages of IrBlockBodyImpl/IrExpressionBodyImpl
2020-07-22 22:38:20 +02:00
Mark Punzalan
174576af61
ForLoopsLowering: Handle Sequence<*>.withIndex().
2020-07-22 22:32:29 +02:00
Mark Punzalan
132960a695
ForLoopsLowering: Eliminate use of @ObsoleteDescriptorBasedAPI.
2020-07-22 22:32:29 +02:00
Mark Punzalan
b1ce21bc55
ForLoopsLowering: Reduce unnecessary temporary variables for the
...
"checked step" (check for a positive step arg) and "negated step"
(negate the step arg when the nested step is negative).
2020-07-22 22:32:29 +02:00
Mark Punzalan
291d62f653
ForLoopsLowering: Move handlers to sub-package and separate files.
2020-07-22 22:32:29 +02:00
Ivan Kylchik
44d283eb07
Fix FIR benchmark memory leak
2020-07-22 20:18:26 +03:00