Ilmir Usmanov
14818a4fc1
Minor. Remove tests with suspend delegates
2018-09-18 14:56:11 +03:00
Ilmir Usmanov
c4038729ea
Minor. Split tests with buildSequence into LV 1.2 and LV 1.3 versions
2018-09-18 14:56:08 +03:00
Anton Bannykh
0660e4d616
[JS IR BE] support multimodule tests
2018-09-18 14:36:20 +03:00
Anton Bannykh
2e709a81fa
[JS IR BE] Arrays, varargs
2018-09-18 14:36:20 +03:00
Ilmir Usmanov
3bb405bee4
Minor. Move SUSPENSION_POINT_INSIDE_MONITOR to ErrorsJvm
2018-09-17 20:22:49 +03:00
Yan Zhulanow
8db5fd4b9b
Add missing empty bunches for AS 3.3
2018-09-17 20:08:27 +03:00
Yan Zhulanow
b38e9b6b05
Make all intellij-core dependencies non-transitive
2018-09-17 20:08:27 +03:00
Ilmir Usmanov
35056543a2
Fix LVT entries of 'this' and parameters in coroutine code
...
#KT-24510 Fixed
2018-09-17 20:03:51 +03:00
Ilmir Usmanov
2dd5b8fa70
Forbid suspension points in critical sections
...
#KT-26480: Fixed
2018-09-17 19:29:51 +03:00
Denis Zharkov
a4b2e5964a
Do not build dummy light classes for serialization-related classes
...
Otherwise, whether LazyLightClassMemberMatchingError happens
or other type of errors because serialization plugin expects
full resolution in the correct module
Currently, only @Serializable annotation leads to exceptions,
but just in case we consider both of them as potentially problematic
#KT-26895 Fixed
2018-09-17 19:09:40 +03:00
Mikhail Zarechenskiy
ea69d26bac
Don't throw exception on error types in light classes mode
...
#KT-26829 Fixed
#KT-26827 Fixed
2018-09-17 16:21:07 +03:00
Mikhail Zarechenskiy
fa9a3868b7
Make generation of assertions for platform types aware of kotlin types
...
#KT-26859 Fixed
2018-09-17 16:21:06 +03:00
Mikhail Zarechenskiy
8e66dadb47
Add regression test for KT-26806
...
#KT-26806
2018-09-17 16:21:01 +03:00
Roman Artemev
e242a8b08b
Unmute tests
2018-09-17 15:29:19 +03:00
Roman Artemev
affc827998
[JS IR BE] Support 1.3 coroutines in backend
2018-09-17 15:29:18 +03:00
Roman Artemev
323602eb5f
Skip expect declaration
2018-09-17 14:52:44 +03:00
Roman Artemev
a8b44c9e18
[JS IR BE] Fix Ir Copier
...
* use symbol table to allocate classifier for IrType
2018-09-17 14:52:44 +03:00
Roman Artemev
6bb77ba51d
[JS IR BE] Get rid of parameters in doResume method. Make its signature similar for both 1.2 and 1.3 coroutines
2018-09-17 14:52:44 +03:00
Denis Zharkov
956f8ad5e9
Support deserialized contracts in common code
...
#KT-26687 Fixed
2018-09-17 12:48:42 +03:00
Ilya Gorbunov
1b889c976a
Use new sequence builders in tests
...
Coroutine tests will fail when LV=1.2 because there're no such builders
in kotlin.coroutines.experimental.
#KT-26678
2018-09-16 23:30:36 +03:00
Anton Bannykh
082c44cb5c
JS: add a flag for more convenient investigation of failing IR tests
2018-09-14 20:34:34 +03:00
Mikhael Bogdanov
9e6637dced
Don't generate additional annotations on synthetic accessors
2018-09-14 16:23:57 +02:00
Mikhael Bogdanov
b7afb4a58e
Generate enum entries classes with package private visibility
...
#KT-6574 Fixed
2018-09-14 16:23:57 +02:00
Raluca Sauciuc
de989c4050
Expand the fix from commit 6c274cecff to cover AndroidX
...
Android Studio users who migrated to AndroidX are running into the
databinding deadlock again: https://issuetracker.google.com/111788726
2018-09-14 17:09:16 +03:00
Dmitry Petrov
88fb76bffc
Fix annotations loading for inline class constructors
2018-09-14 16:09:41 +03:00
Alexander Udalov
863c0051ce
Do not report deprecation on readBytes with API version < 1.3
...
#KT-26667 Fixed
2018-09-14 14:43:24 +03:00
Alexander Udalov
044419eda5
Minor, refactor DeprecationResolver.getOwnDeprecations
...
Make local function a member, inline another utility function
2018-09-14 14:43:23 +03:00
Alexander Udalov
5dc563a9af
Split deprecationUtil.kt to several files, move to subpackage
...
Also move interface Deprecation to subpackage "deprecation"
2018-09-14 14:43:23 +03:00
Georgy Bronnikov
e712007904
Restore a test
2018-09-14 09:41:39 +03:00
Georgy Bronnikov
433afcd669
JVM_IR. Mute failing tests
2018-09-14 03:12:23 +03:00
Ilya Chernikov
a03bfb3561
Implement support for non-kts scripts in gradle
...
#KT-26784 fixed
2018-09-13 20:47:21 +02:00
Sergey Rostov
1b93f07a76
JPS tests: support custom mpp multi module tests, rearrange test data files for more consistency, configure js modules with facet (not with stdlib dependency which should be deprecated), temporary mute some complex mpp tests
2018-09-13 20:30:33 +03:00
Georgy Bronnikov
f04733ef33
JVM_IR. support big arity
2018-09-13 18:44:47 +03:00
Mikhael Bogdanov
03f092fd39
Revert "Generate private constructors for Enums" cause of bootstrap problem
...
This reverts commit 81435c9
2018-09-13 17:07:56 +02:00
Alexander Udalov
3a5de13dd4
Support inline classes in function signatures in call/callBy
...
#KT-25664 Fixed
#KT-26748 Open
#KT-26765 Open
2018-09-13 16:04:20 +03:00
Alexander Udalov
8c8f0639f8
Remove unneeded CallerImpl implementations
...
Also fix a bug where nullability of the assigned value was not checked
in ClassCompanionFieldSetter because it wasn't a subclass of FieldSetter
where this check occurred
2018-09-13 15:54:20 +03:00
Mikhael Bogdanov
81435c98fa
Generate private constructors for Enums
...
#KT-2680 Fixed
#KT-16867 Fixed
2018-09-13 10:09:58 +02:00
Alexander Podkhalyuzin
85ba637796
Light classes should reuse language versions settings during generation
...
#KT-26732 Fixed
2018-09-12 16:02:07 +03:00
Vyacheslav Gerasimov
c768130f89
Remove gradle/ext-releases-local repo, native platform is now available on jcenter
2018-09-12 15:52:15 +03:00
Ilmir Usmanov
e9fc65c7ae
Use our own primitive boxing methods in coroutines codegen
...
#KT-26490 Fixed
2018-09-12 15:36:17 +03:00
Dmitry Petrov
792c5f8b3f
Generate metadata and annotations for hidden constructor
...
Reflection expects to see a callable method for a hidden constructor,
thus, it should be a synthetic accessor.
JVM method signature in metadata should point to the synthetic accessor.
Annotations for hidden constructor should be written on the synthetic
accessor.
2018-09-12 15:33:11 +03:00
Alexander Udalov
f63cf9d506
Use JvmName on kotlin.Metadata parameters to improve public API
...
#KT-26359 Fixed
2018-09-12 14:37:11 +03:00
victor.petukhov
50d9dbbfc1
Fix inheritance in stdlib contracts code (KT-26409)
2018-09-12 12:34:15 +03:00
victor.petukhov
cba99a1e67
Move test to negatives after fix KT-26382
2018-09-12 12:32:57 +03:00
Denis Zharkov
7e9704e50d
Prohibit inheritance of Java members containing FunctionN types
...
#KT-25855 Fixed
2018-09-12 09:49:25 +03:00
Denis Zharkov
24a905293f
Load Java declarations which reference FunctionN as Deprecated.Error
...
#KT-25855 Fixed
2018-09-12 09:49:25 +03:00
Denis Zharkov
7f4f07659c
Minor. Move Deprecation and DeprecationLevel interfaces to core
2018-09-12 09:49:25 +03:00
Denis Zharkov
9cb8a35275
Minor. Pull user-data related things to CallableDescriptor
...
Currently, we assume user data for all non-FunctionDescriptor
declarations is empty
2018-09-12 09:49:25 +03:00
Denis Zharkov
c1cc722ac4
Turn off incorrect switch-optimization for when by enums
...
#KT-24708 Fixed
2018-09-12 09:49:25 +03:00
Denis Zharkov
fc3c4ad883
Support parameterless and suspend main functions in multifile classes
...
#KT-26574 Fixed
2018-09-12 09:49:25 +03:00