Mikhail Glukhikh
f0130d0460
FIR (minor): remove unnecessary withScopeCleanup call
2019-11-08 13:39:45 +03:00
Mikhael Bogdanov
cf15359079
Decrease number of forked test processes on local machine
...
There are no any benefits in execution time
2019-11-08 11:32:30 +01:00
Steven Schäfer
7c9578116b
JVM IR: Fix types in LateInitLowering
...
On the JVM backend the throwUninitializedPropertyAccessException
function is implemented in Java and has a return type of Unit instead of
Nothing. In order to make the types match up we have to wrap its call in
a block with an additional IrThrow.
2019-11-08 11:20:43 +01:00
Dmitriy Novozhilov
3ee013aac6
Change compiler flag for enabling mixed named argumetns in compiler project
...
It's neccessary to avoid useless warnings until build
2019-11-08 12:12:39 +03:00
Dmitriy Novozhilov
5b1cc7d8d5
Update bootstrap version
2019-11-08 12:12:39 +03:00
Dmitriy Novozhilov
e910653d6f
[FIR] Add pretty rendering of functional types
2019-11-08 12:12:39 +03:00
Dmitriy Novozhilov
18dc652404
[FIR] Get rid of operation in FirVariableAssignment
...
`FirVariableAssignment` is creates only for expressions `x = y`
For other assign operators there is a `FirOperatorCall`
2019-11-08 12:12:39 +03:00
Dmitriy Novozhilov
b5210e6a9b
[FIR] Fix building fir for += with complex rhs
...
Also fix choosing candidate for assignment operator call
2019-11-08 12:12:38 +03:00
Dmitriy Novozhilov
cadc2dfe4d
[FIR] Fix generating fir for invoke calls
2019-11-08 12:12:38 +03:00
Pavel Kirpichenkov
ff32eab3d1
[NI] Run call checkers on resolved calls for callable references
...
#KT-34391 Fixed
2019-11-08 11:04:43 +03:00
Mark Punzalan
f444702cf3
JVM: Always invoke get()/charAt() in optimized for-loop over
...
CharSequence.withIndex(), even if element variable is unused in
destructuring declaration.
#KT-34779 Fixed
2019-11-08 10:55:09 +03:00
Mikhail Glukhikh
411dc5d60e
FIR nested classifier scope building: optimize companion search
2019-11-08 09:58:37 +03:00
Mikhail Glukhikh
48938a20a7
Raw FIR: add synthesized Enum.valueOf() function
2019-11-08 09:58:02 +03:00
Alexander Udalov
1978db9d0e
Move codegen tests on old language versions under oldLanguageVersions/
...
This directory is skipped in JVM IR test generator, so they won't show
up as failed anymore.
Note that only failing tests are moved to oldLanguageVersions/. Tests
which already pass are still being run. It may be useful not to break
them in case we _do_ need to support some pre-1.3 language feature
switches in JVM IR.
2019-11-07 19:05:24 +01:00
Alexander Udalov
c3729c8189
Reorganize codegen tests for old language versions
...
Put all files under a single "oldLanguageVersions" directory under test
data of each test
2019-11-07 18:49:27 +01:00
Steven Schäfer
dcd72b06d8
JVM IR: Implement CHECK_NOT_NULL as a lowering
2019-11-07 18:47:53 +01:00
Nikolay Krasko
ea6c43dabd
Mute inline testMultipleInExpression because of unstable order of usages in 193
2019-11-07 20:23:29 +03:00
Nikolay Krasko
fe9c5cac45
Fix TypedHandlerTest in 193
...
Unify TypedHandlerTest.kt with the KotlinLightCodeInsightTestCase
2019-11-07 20:23:29 +03:00
Nikolay Krasko
f6bdaf992e
Fix jps build in buildSrc by explicitly using mutable set
2019-11-07 20:23:29 +03:00
Nikolay Krasko
c053bd213a
Don't assert order of todo items to fix platform update to 193
2019-11-07 20:23:29 +03:00
Nikolay Krasko
b2a61eb5e6
Additional mute for IdeReplCompletionTestGenerated.testFunctions in 193
2019-11-07 20:23:29 +03:00
Nikolay Krasko
2aa251fd0c
Remove deprecated API from InlayScratchFileRenderer
2019-11-07 20:23:28 +03:00
Vladimir Ilmov
9fb95e776e
[HIGHLIGHT] Specific keyword rules for val,var highlighting.
...
'Kotlin keyword' rule configured as fallback rule for all Kotlin keywords:
- Created 'var'/'val' rules with fallback to 'Kotlin keyword'
- BUILTIN_ANNOTATION rule fallback changed from Java to 'Kotlin keyword'
#KT-13344 Fixed
2019-11-07 18:48:59 +03:00
Dmitriy Dolovov
34ea47a868
Extract Konan Gradle model into a separate JAR file
2019-11-07 18:25:35 +03:00
pyos
fb9f43c119
JVM_IR: fix load check in inliner (should accept primitives too)
2019-11-07 15:58:44 +01:00
Alexander Udalov
4164b620e8
Minor, remove obsolete directives and suppressions from contracts test data
2019-11-07 15:20:34 +01:00
Alexander Udalov
66e19b13ce
IR: create shared variables for val-variables when needed
...
This is possible when a lambda's contract guarantees initialization of a
variable.
2019-11-07 15:20:34 +01:00
Igor Chevdar
5c4b47c336
[native-gradle-plugin] Disabled native daemon for tests for now
2019-11-07 17:01:18 +03:00
Igor Chevdar
83331a0afb
[native-gradle-plugin] Test fix
2019-11-07 17:00:59 +03:00
Igor Chevdar
ecb001d5db
Bumped K/N version
2019-11-07 17:00:03 +03:00
Igor Chevdar
d36effd725
[native-gradle-plugin] Run konan directly from the gradle process
2019-11-07 17:00:03 +03:00
Nikolay Krasko
d755002ac4
Advance bootstrap to 1.3.70-dev-1231
2019-11-07 16:24:13 +03:00
Nikolay Krasko
0ea64c8d4b
Avoid using js dist library during jps build as it absent in bootstrap
2019-11-07 16:24:13 +03:00
Nikolay Krasko
155a760ee9
Revert "Revert [JS IR] commits that failed build"
...
This reverts commit 740f851a
2019-11-07 16:24:13 +03:00
Steven Schäfer
181d023e3c
JVM IR: Remove JvmBackendContext.getTopLevelClass
2019-11-07 13:48:43 +01:00
Steven Schäfer
1ac753602e
JVM IR: Avoid getTopLevelClass in CollectionStubMethodLowering
2019-11-07 13:48:43 +01:00
Steven Schäfer
f9ff3771e5
JVM IR: Avoid getTopLevelClass in AddContinuationLowering
2019-11-07 13:48:43 +01:00
Steven Schäfer
481d4d72b9
JVM IR: Avoid getTopLevelClass in JvmSymbols
2019-11-07 13:48:43 +01:00
Mark Punzalan
d0c261c779
Ensure the correct functions (with correct params) are being used in
...
ForLoopsLowering.
2019-11-07 13:43:24 +01:00
Mark Punzalan
21178a4f1a
Fix issue getting the size property from Collection bounded type
...
parameters, when lowering for-loops over Collection.indices.
2019-11-07 13:43:24 +01:00
Mikhail Glukhikh
30679ebfaf
FIR Java: implement correct type matching in SuperTypeScope
2019-11-07 15:07:41 +03:00
Ilya Kirillov
7fffd3d0f2
Fix using method removed from 193 in old J2K
2019-11-07 14:59:08 +03:00
Toshiaki Kameyama
39db76b2ab
"Indent raw string" intention: do not suggest in const
...
#KT-34784 Fixed
2019-11-07 14:57:56 +03:00
Georgy Bronnikov
688a2185fa
Tests for Kapt3 with JVM_IR backend
2019-11-07 13:28:09 +03:00
Mikhail Glukhikh
4d9839a790
JavaClassUseSiteMemberScope: add mutable vs non-mutable type matching
2019-11-07 13:08:38 +03:00
Dmitriy Novozhilov
61c337588b
Revert testdata accidentally committed in 665405c4
2019-11-07 10:41:15 +03:00
Dmitriy Novozhilov
4f8a8f84ba
[FIR] Update some testdata in fir visualizer test
2019-11-07 10:39:22 +03:00
Dmitriy Novozhilov
abf41f87a1
[FIR] Fix rendering of local variables in Visualizer
2019-11-07 10:39:21 +03:00
Dmitriy Novozhilov
f0ba9c3c40
[FIR] Make file separator in AbstractVisualizer OS independent
2019-11-07 10:39:21 +03:00
Mikhail Glukhikh
581504aac5
Raw FIR: add synthesized Enum.values() function #KT-24076 Fixed
2019-11-07 09:29:00 +03:00