Alexander Udalov
f63cf9d506
Use JvmName on kotlin.Metadata parameters to improve public API
...
#KT-26359 Fixed
2018-09-12 14:37:11 +03:00
Denis Zharkov
8365836753
Fix as33-bunch for KotlinRunConfigurationProducer.kt after 38be1f6947
2018-09-12 14:03:07 +03:00
Alexander Udalov
6b2a1497e2
Advance bootstrap to 1.3.0-dev-496
2018-09-12 13:34:23 +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
9bc5b753aa
Fix 181-bunch for KotlinRunConfigurationProducer.kt after 38be1f6947
2018-09-12 11:47:33 +03:00
Anton Bannykh
b389e29db5
JS: update DCE testdata
2018-09-12 09:49:25 +03:00
Anton Bannykh
ead9b31e03
JS: support [suspend] fun main([args: Array<String>]) (KT-26628, KT-26572 fixed)
2018-09-12 09:49:25 +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
bcf1b9c804
Minor. Reformat SignatureEnhancement
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
Denis Zharkov
b53194ef1a
Minor. Drop unused method in FunctionCodegen
2018-09-12 09:49:25 +03:00
Denis Zharkov
aa74511378
Fix UnusedSymbolInspection for parameterless and suspend main functions
...
#KT-26574 Fixed
2018-09-12 09:49:25 +03:00
Denis Zharkov
1cc0c12f87
Add language feature for extended main convention
...
- suspend
- parameterless
#KT-17679 Fixed
#KT-26574 Fixed
2018-09-12 09:49:25 +03:00
Denis Zharkov
f79fbe778f
Minor. Extract KtElement::isMainFunction in the IDE context
2018-09-12 09:49:25 +03:00
Denis Zharkov
38be1f6947
Minor. Parametrize MainFunctionDetector with LanguageVersionSettings
2018-09-12 09:49:25 +03:00
Denis Zharkov
bc722f9c5f
Support main entry-point without arguments in JVM
...
#KT-26574 In Progress
2018-09-12 09:48:13 +03:00
Denis Zharkov
2c920b732c
Support main entry-point without arguments in frontend
...
#KT-26574 In Progress
2018-09-12 09:48:13 +03:00
Denis Zharkov
3cf1c56794
Minor. Get rid of static public parts in MainFunctionDetector
...
In further commits, MainFunctionDetector::isMain will use
getFunctionDescriptor property
2018-09-12 09:48:13 +03:00
Denis Zharkov
c3f6ba3302
Support suspend fun main in JVM
...
#KT-17679 Fixed
2018-09-12 09:48:13 +03:00
Denis Zharkov
272ee252d8
Report warning on "suspend {}"-like calls based on variable
...
#KT-22892 Fixed
2018-09-12 09:48:13 +03:00
Denis Zharkov
b9f141d4aa
Forbid suspend functions annotated with @kotlin.test.Test
...
#KT-26200 Fixed
2018-09-12 09:48:13 +03:00
Ilya Gorbunov
a18770fbbb
Remove projectDist dependency helper usages
...
Use default configuration dependencies instead of projectDist ones.
2018-09-12 06:05:05 +03:00
Ilya Gorbunov
03340d770b
Replace remaining distJar dependencies with default configuration dependencies
2018-09-12 06:05:05 +03:00
Pavel V. Talanov
ef915096a5
Common tests are discoverable via platform modules test classpath
...
Introduce KotlinGradleOrderEnumerationHandler
and patch KotlinAndroidGradleOrderEnumerationHandler:
- If 'Android Support' plugin is off KAndroidGradleOEH will not be available and KGOEH will be used
- Make KAndroidGOEH implement a different EP so it replaces KGOEH when it is available
2018-09-12 04:13:32 +02:00
Pavel V. Talanov
4b0bc4a438
Try to distinguish between test/production compilations
2018-09-12 04:13:32 +02:00
Pavel V. Talanov
ee1ec22e4c
Implement MultipleRunLocationsProvider EP
...
Provide run locations corresponding to platform modules when invoked from common code
2018-09-12 04:13:32 +02:00
Pavel V. Talanov
3da9d79fc2
KtFile.getClasses() returns empty array for non-jvm files
2018-09-12 04:13:32 +02:00
Pavel V. Talanov
3a2d25a422
Js run configuration producers: get module from ConfigurationContext
...
Delegate mpp concerns to MultipleRunLocationsProvider EP
Restore old behaviour via bunch files
2018-09-12 04:13:31 +02:00
Pavel V. Talanov
456bf9808d
Configuration providers don't create configurations for common code
...
Remove special code that creates configurations
and patches them for common modules
This should be done via MultipleRunLocationsProvider EP
2018-09-12 04:13:31 +02:00
Pavel V. Talanov
25882c5b46
Minor: add is(New)MPPModule utils
2018-09-12 04:13:31 +02:00
Pavel V. Talanov
472be61356
182 branch since-build is 182.4129.33
...
To allow use of the latest API
2018-09-12 04:13:31 +02:00
Ilya Gorbunov
c4e794b21f
Add nullability annotations jar to debugger test application compile classpath
2018-09-12 00:58:55 +03:00
Ilya Gorbunov
41a8678b95
Remove mutability and nullability annotations from stdlib in kotlinc/lib
...
#KT-21784
2018-09-12 00:58:55 +03:00
Ilya Gorbunov
584410b14b
Advance bootstrap to 1.3.0-dev-485
2018-09-12 00:55:14 +03:00
Alexander Udalov
e7807cc168
Skip prerelease check when building kotlin-stdlib-js-merger
2018-09-11 21:10:04 +03:00
Ilya Gorbunov
c1829782b7
Turn off compiler prerelease flag #KT-26643
2018-09-11 21:10:04 +03:00
Yan Zhulanow
59241a9c1f
Minor: Remove unneeded import
2018-09-11 21:07:27 +03:00
Ilya Gorbunov
000e7493a1
Introduce common KCallable and K(Mutable)Property(ø,0,1,2) interfaces
...
#KT-25935
2018-09-11 19:21:15 +03:00
Ilya Gorbunov
7b46d22877
Introduce common KClass interface #KT-25935
2018-09-11 18:45:55 +03:00
Ilya Gorbunov
62ffacab09
Raise deprecation level for jsClass functions
...
Suppress error in tests
#KT-21703
2018-09-11 18:15:04 +03:00
Ilya Gorbunov
35f42c7d35
Raise deprecation level for kotlin.Synchronized and Volatile, remove replacements
...
They are js-only but not supposed to be used in Kotlin/JS code, so their
usages should be just removed.
#KT-21703
2018-09-11 18:15:03 +03:00
Ilya Gorbunov
010b36be1f
Raise deprecation level for kotlin.js.Math functions
...
#KT-21703
2018-09-11 18:15:03 +03:00
Ilya Gorbunov
fbd2322ffa
Add replacement information for deprecated JQuery members
...
#KT-21703
2018-09-11 18:15:03 +03:00
Ilya Gorbunov
c3f654a71c
Stdlib/JS: drop deprecated CharSequence.size
...
#KT-21703
2018-09-11 18:15:03 +03:00
Ilya Gorbunov
f1c3d8b860
Raise deprecation level for kotlin.test collection assertions
...
#KT-21703
2018-09-11 18:15:03 +03:00