Dmitry Gridin
2b90735990
generateUtil: fix PIEAE
...
#EA-209598 Fixed
#EA-142347 Fixed
2019-08-20 17:08:41 +07:00
Dmitry Gridin
b570f99aae
generateUtil: cleanup code
2019-08-20 17:04:00 +07:00
Dmitry Gridin
cf3b92d80e
CreateTypeParameterFromUsageFix: fix KNPE for type alias
...
#KT-33302 Fixed
#EA-120181 Fixed
2019-08-20 17:04:00 +07:00
Dmitry Gridin
932765744a
CreateTypeParameterFromUsageFix: cleanup code
2019-08-20 17:03:59 +07:00
Igor Chevdar
8d2ccb7bcd
[IR] Taught inliner to work with inline suspend lambdas
2019-08-20 12:52:54 +03:00
pyos
7ff700ff97
JVM_IR: lower calls to @JvmStatic functions from other files.
...
Note: this currently results in invalid IR (but valid bytecode) if the
@JvmStatic function is imported, because its IR representation is
unlowered and therefore has a dispatch receiver, but the call will not.
2019-08-20 11:39:25 +03:00
Ilya Kirillov
24adc09e2d
J2K: Change old/new J2K switch checkbox text from "Use New J2K" to "Use New Java to Kotlin Converter"
...
Relates to #KT-33371
2019-08-20 11:13:13 +03:00
Alexander Udalov
ad43bc23ea
Minor, add test case on SAM conversion over smart cast
2019-08-19 18:09:32 +02:00
Vladimir Dolzhenko
dd0e296af1
Use KotlinExceptionWithAttachments for ToFromOriginalFileMapper and MainFunctionDetector
2019-08-19 17:55:49 +02:00
victor.petukhov
fa29297fb1
Introduce workaround for back-end exception in the test cases parser code
2019-08-19 18:31:48 +03:00
victor.petukhov
9487d291da
Fail spec box tests if they have unexpected behaviour and passed
2019-08-19 18:31:48 +03:00
victor.petukhov
d8e5b068d5
Relinking spec tests
2019-08-19 18:31:46 +03:00
victor.petukhov
8465d690f1
Add spec tests for 'Type system' (introduction and 'kotlin.Any' type)
2019-08-19 18:31:45 +03:00
victor.petukhov
f78faeaa3c
Add test for consistency check between the Kotlin specification and spec tests
2019-08-19 18:31:44 +03:00
victor.petukhov
4f73e100d0
Add task to generate tests json map (is used for tool 'spec-tests-relinking recommender')
2019-08-19 18:31:43 +03:00
victor.petukhov
0e439263ce
Group spec tests and accompanying functionality into to packages: org.jetbrains.kotlin.spec (tests only) and org.jetbrains.kotlin.spec.utils (accompanying functionality)
2019-08-19 18:31:42 +03:00
victor.petukhov
cf692fb257
Implement tests map generator and refactor folder structure to spec tests linking
2019-08-19 18:31:40 +03:00
victor.petukhov
28da325a11
Actualize DFA spec tests
2019-08-19 18:31:39 +03:00
SatoShun
c43df55965
Type parameters are placed before the name of the function
2019-08-19 16:16:51 +03:00
Igor Yakovlev
9c861a111f
Fix move refactoring conflict window output
...
1) Refactoring
2) #KT-32496 Fixed
2019-08-19 13:28:23 +03:00
Igor Yakovlev
ae3f36ebde
Change ExtractDeclarationFromCurrentFileIntention applicability range
...
Fixed #KT-33362
2019-08-19 13:28:23 +03:00
Yanis Batura
e9e3df23fc
Fix typos and improve grammar in stdlib readmes ( #2527 )
...
* Fix typos in the main ReadMe.md
* Fix typos in the stdlib samples ReadMe.md
Co-Authored-By: ilya-g <ilya.gorbunov@jetbrains.com >
2019-08-16 19:56:56 +03:00
Igor Chevdar
ad8bcda99e
[IR] Merged K/N inliner with the common one
2019-08-16 18:32:19 +03:00
Vyacheslav Gerasimov
32153c26a8
Build: Rewrite upload_plugins.gradle in Kotlin
2019-08-16 15:42:18 +03:00
Vyacheslav Gerasimov
af2cd36c3d
Build: Rename upload_plugins.gradle -> kts
2019-08-16 15:42:18 +03:00
Ilya Gorbunov
fba22606e6
Introduce erroneous operators ClockMark.minus/compareTo(ClockMark)
...
To provide a better diagnostic message on their misuse.
2019-08-16 15:29:17 +03:00
Ilya Gorbunov
ac07cb686b
Change status of ExperimentalTime API to a more risky one
2019-08-16 15:29:17 +03:00
Ilya Gorbunov
a985402507
Introduce ClockMark.hasPassedNow, hasNotPassedNow functions
...
Makes it more clear to use them than comparing elapsed with Duration.ZERO.
2019-08-16 15:29:16 +03:00
Ilya Gorbunov
44195d436e
Rename: Clock.markNow, ClockMark.elapsedNow
...
Add "Now" suffix to the names of functions that depend on the current
time moment.
2019-08-16 15:29:16 +03:00
Ilya Gorbunov
a493d46a6e
Make effectively private properties actually private to avoid accessors
2019-08-16 15:29:16 +03:00
Ilya Gorbunov
f889d25287
Introduce TestClock.plusAssign(Duration) and hide implementation details
...
TestClock.plusAssign(Duration) is for advancing TestClock time.
Hide reading value, do not allow to provide initial reading,
fix clock unit to nanoseconds at construction time.
2019-08-16 15:28:45 +03:00
Ilya Gorbunov
4de9361c37
Introduce Duration.isPositive method
2019-08-16 15:25:57 +03:00
Ilya Kirillov
4befca95d6
Add an ability to switch between old and new J2K via settings window
...
Before that it was possible to do only via registry
#KT-33371 fixed
2019-08-16 09:37:05 +03:00
Shagen Ogandzhanian
3b8da0afe4
Update dukat dependency to 0.0.16
2019-08-16 06:29:11 +03:00
Igor Yakovlev
1aa8e28dd8
Add JvmOverloads to KtLightClassImpl
...
Added @JvmOverloads annotation to primary constructor for binary compatibility issues
2019-08-15 15:49:14 +03:00
Alexey Tsvetkov
8e6a80bed7
Add test logs specific for IC with JS IR
...
Incremental inline will be handled during lowerings,
after all klibs are generated
2019-08-15 15:11:52 +03:00
Alexey Tsvetkov
12c209d360
Do not compare output for IC with JS IR BE
...
Temporary measure until output could be updated incrementally
2019-08-15 15:11:52 +03:00
Alexey Tsvetkov
3366ac4b18
Save incremental data with KLIB compiler
2019-08-15 15:11:52 +03:00
Alexey Tsvetkov
fc49510049
Add tests for IC with JS IR BE
2019-08-15 15:11:52 +03:00
Alexey Tsvetkov
9572800ef7
Add missing dependency
2019-08-15 15:11:52 +03:00
Stanislav Erokhin
b5a407371c
Update the year in LICENSE.txt
2019-08-15 13:31:09 +03:00
Mikhail Zarechenskiy
d59b910403
Add tests for obsolete issues
...
#KT-32207 Obsolete
#KT-32836 Obsolete
#KT-32949 Obsolete
#KT-9384 Obsolete
2019-08-15 13:01:39 +03:00
Mikhail Zarechenskiy
1969ad6e9d
[NI] Take into account use-site variance for constraint from LHS of CR
...
#KT-32851 Fixed
2019-08-15 13:01:38 +03:00
Mikhail Zarechenskiy
0620762b97
Enable new inference explicitly for MPP tests with type refinement
2019-08-15 12:50:19 +03:00
Mikhail Zarechenskiy
735e1ecec1
Disable new inference for IDE analysis by default in releases
2019-08-15 12:50:09 +03:00
Mikhail Zarechenskiy
69942681a3
Refactoring: move versioning.kt file to idea-analysis module
2019-08-15 12:49:54 +03:00
Mikhail Zarechenskiy
50e7ff4097
Refactoring: move isSnapshot function closer to similar ones
2019-08-15 12:49:53 +03:00
Dmitry Gridin
2c0d6ab1a5
[Compatibility] Restore GradleBuildScriptManipulator.addKotlinLibraryToModuleBuildScript(scope, libraryDescriptor)
...
#KT-33336 Fixed
2019-08-15 15:54:12 +07:00
Abduqodiri Qurbonzoda
63895483fd
Fix take method from iterating one extra element (KT-32024)
2019-08-15 01:01:36 +03:00
Abduqodiri Qurbonzoda
01a613dca4
Add tests for floating-point to integral conversion
2019-08-15 00:57:27 +03:00