Denis Zharkov
f7d0be980b
FIR: Optimize ConeTypeContext::isIntegerLiteralType
...
See ConeTypeContext::isIntegerLiteralTypeConstructor
2019-06-18 11:55:15 +03:00
Denis Zharkov
3c8ed21e59
Optimize ConstraintInjector::isMyTypeVariable
...
Do not look into the map for constructors that are not
type variables
2019-06-18 11:55:15 +03:00
Denis Zharkov
115ab38423
FIR: Optimize ConeTypeContext::captureFromArguments
2019-06-18 11:55:15 +03:00
Simon Ogorodnik
2c5bd46a97
[FIR] Handle non-kotlin class results from findKotlinClassOrContent
2019-06-18 11:36:42 +03:00
Simon Ogorodnik
2f53bd24dd
[FIR] Reorder providers to make builtins load first
2019-06-18 11:34:18 +03:00
Simon Ogorodnik
03c3469a14
[FIR] Enhance caches in providers
2019-06-18 11:33:11 +03:00
Simon Ogorodnik
f88fafea9d
[FIR] Use proper collections for override scope
2019-06-18 11:14:58 +03:00
Simon Ogorodnik
321e948eca
[FIR] Improve typing to get rid of cast
2019-06-18 11:14:57 +03:00
Simon Ogorodnik
95409b35ca
[FIR] Use abstract classes for FIR scopes
2019-06-18 11:14:56 +03:00
Simon Ogorodnik
810fa9c171
[FIR] Make session & symbolProvider abstract classes
2019-06-18 11:14:55 +03:00
Simon Ogorodnik
5a06027c53
[FIR] Avoid instanceof List in transformInplace
2019-06-18 11:14:54 +03:00
Ilya Gorbunov
95139252b7
Exclude kotlin.time.* from reduced js runtime
2019-06-18 03:59:52 +03:00
Mikhail Zarechenskiy
7749afb13e
[NI] Fix exception for type check callable reference against error type
...
#KT-32029 Fixed
#EA-145311 Fixed
2019-06-17 19:18:04 +03:00
Mikhail Zarechenskiy
8fe632f52b
[NI] Record DFI for callable reference arguments
...
#KT-31941 Fixed
2019-06-17 19:18:04 +03:00
Vyacheslav Gerasimov
54222bd429
Build: compiler tests-common test runtime
2019-06-17 16:30:14 +03:00
Denis Zharkov
fdebb38706
Disable slow assertions in type checker everywhere except for tests
2019-06-17 10:29:23 +03:00
Toshiaki Kameyama
fbd992f8c7
Add intentions to convert lazy <--> ordinary property
...
#KT-23501 Fixed
2019-06-17 01:10:19 +03:00
Nicolay Mitropolsky
2a5be78db3
Kotlinx-coroutines version set to 1.2.1 for IDEA 192
2019-06-14 20:05:23 +03:00
Roman Artemev
8015152bfc
[JS IR BE] Support JS IR in maven plugin
2019-06-14 18:41:00 +03:00
Roman Artemev
cc46657c99
[JS IR BE] Fix misprint
2019-06-14 18:40:59 +03:00
Roman Artemev
6d2ad63db3
[IR] Support IrLocalDelegatedPropertyReference in klib
2019-06-14 18:40:59 +03:00
Roman Artemev
008cf03b06
[IR] Consider TypeParameter as public declaration and serialize it properly
...
- Add test case when TypeParameter of generic property is exposed outside its module
2019-06-14 18:40:59 +03:00
Roman Artemev
efaf5a9947
[IR] Fix serialization of ENUM_SPECIAL members
2019-06-14 18:40:59 +03:00
Alexander Gorshenev
a816de4865
Added a test for members of EnumEntry in a library.
2019-06-14 17:12:39 +03:00
Alexander Gorshenev
d13b350716
Don't serialize descriptor references for EnumEntry members
2019-06-14 17:12:39 +03:00
Vyacheslav Gerasimov
33a5a3ff81
Build: Fix test runtime for incremental compilation tests
2019-06-14 17:09:36 +03:00
Toshiaki Kameyama
b650c7ab00
Add "Redundant empty initializer block" inspection
...
^KT-5008 Fixed
2019-06-14 12:27:21 +03:00
Vyacheslav Gerasimov
9f5b1a5101
Build: Fix runtime for generateFullRuntimeKLib
2019-06-14 01:06:06 +03:00
Vyacheslav Gerasimov
dc2a7fdc13
Build: Fix compiler tests, add missing test runtime dependencies
2019-06-14 00:35:01 +03:00
Vyacheslav Gerasimov
5a39c637c2
Build: Fix intellij dependency leak from ir tree module
2019-06-13 21:03:55 +03:00
Andrey Uskov
c0bf5a6566
Import of middle HMPP target platforms is supported
2019-06-13 18:30:01 +03:00
Steven Schäfer
41ce88cb9b
Move eraseTypeParameters to IrUtils and use it in PromisedValue.coerce
2019-06-13 12:25:06 +02:00
Steven Schäfer
3ce0c336bc
Move IrReturnTarget.returnType to IrUtils
2019-06-13 12:25:06 +02:00
Steven Schäfer
ea3bae5fc9
Split voidValue into immaterialUnitValue and defaultValue
2019-06-13 12:25:06 +02:00
Steven Schäfer
27a850be92
Fix genValueAndPut in IrInlineCodegen
2019-06-13 12:25:06 +02:00
Steven Schäfer
917ef250cf
Add and (un)mute inline class tests
2019-06-13 12:25:06 +02:00
Steven Schäfer
f1f0c7e0a0
Take inline classes into account in JvmBuiltinOptimizationLowering
2019-06-13 11:24:16 +02:00
Steven Schäfer
69cf8d4df4
Produce source function names in CallableReferenceLowering
2019-06-13 11:24:15 +02:00
Steven Schäfer
9c957edcea
Implement inline classes in the JVM_IR backend
2019-06-13 11:24:15 +02:00
Steven Schäfer
ad3e03bdbd
Disable type mapper name mangling for inline classes in the JVM_IR backend
2019-06-13 11:24:15 +02:00
Steven Schäfer
f5b9eee83a
Add builder for variable declarations without initializers
2019-06-13 11:24:15 +02:00
Mikhail Zarechenskiy
d9dca067f6
[NI] Propagate non-null info on supertypes for capturing from bounds
...
#KT-31941 Fixed
2019-06-13 00:57:51 +03:00
Ting-Yuan Huang
f07be024b7
JVM_IR: handle JvmDefault for bridges.
2019-06-12 07:43:45 +02:00
Leonid Startsev
b78d84c120
Add some tests for kotlinx.serialization plugin:
...
- declaration checker
- bytecode listings
- JVM IR
Improve @Transient redundant reporting
2019-06-11 19:32:40 +03:00
Alexander Udalov
c67517cb2b
JVM IR: use fast class reading mode in boxAgainstJava tests
...
annotationsViaActualTypeAliasFromBinary.kt is ignored because
ExpectActualRemover can't find actual for the expected constructor of
Anno now, because `ExpectedActualResolver.findActualForExpected`
incorrectly filters out actual declarations without any source file, and
Java classes loaded in the fast mode don't have any source files.
This will need to be fixed separately, probably by making
ExpectedActualResolver look for the actual class of an expected class
member first (with source file-based filtering), and then
unconditionally locating the corresponding member there
2019-06-11 15:26:07 +02:00
Alexander Udalov
c6d61346dd
Avoid compiling Java files twice in boxAgainstJava tests
...
After b602c08773 , this test started to put all .java files to the
dependencies when compiling .kt files, _in addition_ to the already
compiled class files from those Java sources. This is incorrect because
the test should actually check how Kotlin compiles _against_ Java
binaries. The other behavior (compiling against Java sources) is already
supported and used in normal box tests with .java sources.
However, we can't simply filter out all .java files before calling
`super.doMultiFileTest` because many of those contain directives
(WITH_RUNTIME, FULL_JDK, etc.) and we should load them in
`CodegenTestCase.compile`. As a workaround, remove '.java' file
extension to prevent their compilation but still be able to resolve
directives.
2019-06-11 15:26:07 +02:00
Vasily Levchenko
e3d2419beb
[tests][codegen][coroutines] disable test simpleSuspendCallableReference for NATIVE too.
2019-06-11 12:07:58 +03:00
Dmitry Savvinov
32a102a99d
Fix bug in ExpectedActualResolver
...
'getContributedDescriptors' isn't obliged to apply filters, inlcuding
kindFilter, and may return declarations of different kind, so we have to
call 'filterIsInstance' explicitly
2019-06-11 11:07:01 +03:00
Mikhail Zarechenskiy
991e60c9e4
Add tests for obsolete issues
...
#KT-31784 Obsolete
#KT-31757 Obsolete
2019-06-10 17:37:52 +03:00
Igor Chevdar
acf9670306
Fixed bug with file descriptors leakage
2019-06-10 13:41:57 +03:00