Alexander Udalov
14a6a06166
JVM IR: do not use GenerationState.typeMapper
...
The only remaining usages are in IrTypeMapper, MethodSignatureMapper and
in InterfaceDelegationLowering.generateDelegationToDefaultImpl
2019-08-21 15:14:03 +02:00
Alexander Udalov
f64afbf152
JVM IR: reduce usages of IrTypeMapper.kotlinTypeMapper
2019-08-21 15:13:49 +02:00
Alexander Udalov
0c6ab69b52
JVM IR: do not use descriptors in IrTypeMapper.writeFormalTypeParameters
2019-08-21 15:13:49 +02:00
Alexander Udalov
598c6009f2
JVM IR: extract method signature mapping to MethodSignatureMapper
2019-08-21 15:13:47 +02:00
Alexander Udalov
6191fc10f0
JVM IR: introduce IrCallableMethod as a simpler replacement for CallableMethod
2019-08-21 15:10:57 +02:00
Vladimir Dolzhenko
6969717201
Fix performanceTests compilation errors
2019-08-21 10:17:24 +02:00
Burak Eregar
d1cbee44f1
Move refactoring: suggest file name starting with an uppercase letter
...
Fixed #KT-30342
2019-08-21 00:58:59 +03:00
Ilya Chernikov
8219d9853c
Implement configuration for describing only published runtime dependencies...
...
and fix runtime dependencies for published scripting artifacts
2019-08-20 21:17:56 +02:00
Vladimir Dolzhenko
3d3e86b5fa
Added gradle.kts and annotator gradle.kts autocompletion performance benchmark
2019-08-20 15:25:50 +02:00
Alexander Udalov
7c4ed9c29e
JVM IR: remove unused code, minor cleanup
2019-08-20 14:16:30 +02:00
Dmitry Gridin
23e79bb32b
ScriptDefinitionsManager: safeGetDefinitions shouldn't catch ControlFlowException
...
#EA-210332 Fixed
2019-08-20 17:08:47 +07:00
Dmitry Gridin
ef4bac1b46
REPL: fix IllegalArgumentException
...
Reproduce: select `Pause Output`
#EA-209571 Fixed
#EA-210364 Fixed
#KT-33329 Fixed
2019-08-20 17:08:47 +07:00
Dmitry Gridin
f81fb40164
HistoryUpdater: cleanup code
2019-08-20 17:08:47 +07:00
Dmitry Gridin
df438377e8
ReplOutputProcessor: cleanup code
2019-08-20 17:08:47 +07:00
Dmitry Gridin
ab4001a698
KotlinCopyPasteReferenceProcessor: fix KNPE
...
#EA-210304 Fixed
2019-08-20 17:08:47 +07:00
Dmitry Gridin
693f42f33e
KotlinCopyPasteReferenceProcessor: cleanup code
2019-08-20 17:08:47 +07:00
Dmitry Gridin
bd5476082b
extractionModel: cleanup code
2019-08-20 17:08:47 +07:00
Dmitry Gridin
fcff9a43b4
extractionModel: fix NPE
...
#EA-210243 Fixed
2019-08-20 17:08:46 +07:00
Dmitry Gridin
f87e86d4b3
CallableBuilder: fix exception
...
#EA-134361 Fixed
2019-08-20 17:08:46 +07:00
Dmitry Gridin
76b97c3847
CallableBuilder: cleanup code
2019-08-20 17:08:46 +07:00
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