Yan Zhulanow
ee37bcf14b
Parcelize: Serialize primitive arrays correctly when the custom parceler is provided.
...
This fixes failing 'customSerializerBoxing' test.
2018-07-12 20:36:37 +03:00
Yan Zhulanow
defe97e4ef
Parcelize: Always map primitive array element types as boxed types for Array<T> (#KT-23808)
2018-07-12 20:36:37 +03:00
Yan Zhulanow
d5f0495031
Parcelize: Support objects and enums (#KT-22576)
2018-07-12 20:36:37 +03:00
Mikhail Zarechenskiy
4e3674b330
Fix for-in iterator over list of boxed inline class values
...
#KT-25325 Fixed
2018-07-12 18:53:30 +03:00
Mikhail Zarechenskiy
0308e10c11
Fix for-in iterator over array of boxed inline class values
...
#KT-25324 Fixed
2018-07-12 18:53:24 +03:00
Mikhail Zarechenskiy
584c888e5b
Fix exception from UAST: don't use constant of error type
...
#EA-121947 Fixed
2018-07-12 16:12:49 +03:00
Ilya Gorbunov
ed7f7ba737
Assigning single value to varargs is prohibited, use arrayOf
2018-07-12 14:33:15 +03:00
Anton Bannykh
d042038045
JS IR: mute tests with language version 1.0
...
Long.rem declaration doesn't compile
2018-07-12 14:18:34 +03:00
Anton Bannykh
6a9b8d27e6
JS: update DCE test data
2018-07-12 14:18:34 +03:00
Anton Bannykh
cf9ad635e1
JS: add more tests
2018-07-12 14:18:34 +03:00
Anton Bannykh
0579b52d6b
JS: enabled codegen box tests for release coroutines
2018-07-12 14:18:34 +03:00
Anton Bannykh
99ac43eb84
JS: implement release coroutines in stdlib
2018-07-12 14:18:34 +03:00
Anton Bannykh
2604da6f0e
Advance bootstrap to 1.2.70-dev-258
2018-07-12 14:18:34 +03:00
Nikolay Krasko
5bfb35c8aa
Revert "Add knowledge about eap-1.3 channel to plugin (KT-25414)"
...
It's decided to migrate to scheme with two predefined channels:
`eap` and `eap-next`.
This reverts commit 4f1f1e6
2018-07-12 13:32:19 +03:00
Sergey Rostov
c8d85150de
ReplOutputHandler: log xml parsing exception cause (EA-103447)
2018-07-12 10:26:37 +03:00
Natalia Selezneva
79a80ce8de
Use new syntax for '.gradle.kts' files in AddKotlinLibQuickFix
...
^KT-25403 Fixed
2018-07-12 10:03:40 +03:00
Natalia Selezneva
e395a32734
Add quickfix to adding kotlin-script-runtime.jar to classpath
...
^KT-25402 Fixed
2018-07-12 10:03:35 +03:00
Simon Ogorodnik
75fa02646b
EA-109046: Add diagnostic to catch NPE
2018-07-11 20:50:02 +03:00
Nikolay Krasko
4f1f1e66eb
Add knowledge about eap-1.3 channel to plugin (KT-25414)
...
#KT-25414 Fixed
2018-07-11 17:25:30 +03:00
Natalia Selezneva
d241c092e2
Fix deadlock in ScriptTemplatesFromCompilerSettingsProvider
...
^KT-25373 Fixed
2018-07-11 16:23:58 +03:00
Svyatoslav Kuzmich
7bf2cd8054
[JS IR BE] Fix lost toLong conversions during merge
2018-07-11 16:16:50 +03:00
Mikhael Bogdanov
9cf9cb3ecd
Fix KotlinType building by IrType: don't miss type parameters of outer for inner class
...
#KT-25405 Fixed
2018-07-11 15:12:43 +02:00
Anton Bannykh
9c6452778f
JS IR: unmute tests
2018-07-11 15:25:41 +03:00
Anton Bannykh
ac1a97ad83
JS IR: unmute tests
2018-07-11 14:49:36 +03:00
Anton Bannykh
9e9b27fe79
JS IR: bug fixes
2018-07-11 14:49:36 +03:00
Anton Bannykh
9233e6c176
JS IR: char (always boxed for now)
2018-07-11 14:49:36 +03:00
Nikolay Krasko
d709b03160
Load/Save for old Intellij formatting settings (KT-22252)
...
#KT-22252 In Progress
2018-07-11 14:25:24 +03:00
Nikolay Krasko
6a4d2c1fdb
Predefined obsolete code style (KT-22252)
...
#KT-22252 In Progress
2018-07-11 14:25:24 +03:00
Nikolay Krasko
b51880332e
Migration inspection for fromClosedRange() call (KT-17176)
...
#KT-17176 Open
2018-07-11 14:25:24 +03:00
Ilmir Usmanov
6ba2baa9da
Deserialize constructors and properties with version requirement 1.3
...
if they have suspend function type in their descriptors.
Also, review fixes.
#KT-25256: Fixed
2018-07-11 14:20:46 +03:00
Ilmir Usmanov
c460593b7d
Forbid coroutines in language version is 1.3 and api version is less
2018-07-11 14:20:45 +03:00
Ilmir Usmanov
03c50ea139
Add test for calling release coroutine from experimental one
2018-07-11 14:20:44 +03:00
Ilmir Usmanov
cbb81a343c
Minor. Move experimental warning disabling to appropriate places.
2018-07-11 14:20:44 +03:00
Ilmir Usmanov
524cc3ffe4
Forbid old coroutineContext deserialization. Fix suspend function deserialization
2018-07-11 14:20:43 +03:00
Ilmir Usmanov
d13e2ef32e
Add tests
2018-07-11 14:20:42 +03:00
Ilmir Usmanov
dbc3ddc578
Support loading function types
2018-07-11 14:20:41 +03:00
Ilmir Usmanov
5b7e099842
Read old suspend functions in 1.3
2018-07-11 14:20:41 +03:00
Mikhail Zarechenskiy
6b73e528ce
Ignore test for JS IR because of TODO() function
2018-07-11 11:41:24 +03:00
Nicolay Mitropolsky
be611cd154
LightAnnotations don't try to get kotlinOrigin if not building from sources
2018-07-11 09:37:28 +03:00
Nicolay Mitropolsky
eaa58c3ec2
KtLightParameter should have a KtLightModifierList anyway
...
otherwise we wouldn't get proper annotations for `equals` in data-classes
2018-07-11 09:37:28 +03:00
Alexander Udalov
628833af65
Generate nullability annotations as non-runtime-retained
...
org.jetbrains.annotations.NotNull/Nullable have retention CLASS,
therefore they should appear in RuntimeInvisibleAnnotations
#KT-22201 Fixed
2018-07-11 09:37:28 +03:00
Jake Wharton
2e4f3ced9b
Add nullability annotations to data class equals and toString.
...
KT-22201
2018-07-11 09:37:28 +03:00
Mikhail Zarechenskiy
8d24ca65a3
Propagate KotlinType into when expression codegen
...
This commit removes unneeded boxing when result expression of `when` is
value of inline class type
2018-07-10 23:10:57 +03:00
Zalim Bashorov
35b2b762cd
Pill: fix name of ignored kotlin-scripting compiler plugin
2018-07-10 21:53:59 +03:00
Nikolay Krasko
a58acdd537
Fix suspend inlay tests after adding yield() from stdlib to ignore
2018-07-10 19:24:23 +03:00
Nikolay Krasko
cd8d6439aa
Minor: add PsiTreeUtilKt#parentOfType to incompatible API
2018-07-10 19:24:22 +03:00
Ilya Gorbunov
5e5b9e5912
Fix incorrect parameter order in TestNG asserter
...
#KT-25351 Fixed
2018-07-10 19:12:21 +03:00
Mikhail Zarechenskiy
2be08f4d60
[NI] Fix exception, recorded type for function statement can be null
...
See `checkStatementType`, we return `null` to reduce count of errors.
Also, note that named function which is used as last statement in lambda
doesn't coerce to Unit, this is a separate bug and will be addressed later,
see #KT-25383
#EA-121026 Fixed
2018-07-10 17:41:17 +03:00
Mikhael Bogdanov
eb745133c9
Switch @JvmStatic diagnostic test to LanguageFeature usage
2018-07-10 16:04:30 +02:00
Alexander Udalov
e937fe8258
Move PackagePartProvider to module descriptors.jvm
2018-07-10 15:16:49 +02:00