Anastasiya Shadrina
b3591e77be
[FE] Prohibit explicit @ContextFunctionTypeParams usage
2021-12-02 20:24:20 +03:00
Anastasiya Shadrina
e3f987459c
[PSI, FE] Support functional types
2021-12-02 20:24:11 +03:00
Mikhael Bogdanov
b72aa76415
Support class type parameters annotation checking
2021-06-01 06:33:51 +02:00
Abduqodiri Qurbonzoda
b5e3dc414f
Fix Array.iterator doc
2021-04-19 19:14:28 +03:00
Abduqodiri Qurbonzoda
71c5c8b20a
Fix Range.isEmpty doc
2021-04-19 19:14:25 +03:00
Abduqodiri Qurbonzoda
98d31a1813
Expand KDoc of inc() and dec() operators #KT-43701
2021-04-10 03:23:04 +03:00
Ilya Gorbunov
b64b96eee6
Deprecate Char-to-Number conversions in stdlib (JVM and JS)
...
- Int.toChar was left non-deprecated because the replacement is not intrinsic yet.
- Number.toChar was left non-deprecated because otherwise the deprecation propagates to the override, Int.toChar.
KT-23451
2021-04-07 18:30:20 +03:00
Abduqodiri Qurbonzoda
968099fbec
Advance deprecation level of FP to lesser than Int types to ERROR #KT-30360
2021-04-07 00:23:20 +03:00
Alexander Udalov
ec3799a696
Do not print total bytes written in :core:builtins:serialize
...
To reduce the amount of output on a clean build. Will have effect after
the next bootstrap update.
2021-03-19 14:56:14 +01:00
Anastasiya Shadrina
94c4d1c23e
Specify when the range is empty in KDoc
2021-03-19 20:40:06 +07:00
Ilya Gorbunov
7e2c365b79
Generate docs for floorDiv and mod and improve docs for div and rem
...
Refactor operator documentation generation for primitives and unsigned
types so that it is easier to specialize it.
Manually sync docs of numeric types in js-ir stdlib.
KT-26234
2021-03-05 07:32:16 +03:00
Alexander Udalov
acd29481bd
Regenerate sources of builtins and stdlib
2021-01-03 22:31:06 +01:00
Abduqodiri Qurbonzoda
36e6247125
Add more details about bit shift operations #KT-41112
2020-09-16 04:05:12 +03:00
Alexander Udalov
da6d904c6e
Suppress code warnings in kotlin-stdlib
2020-08-20 20:30:34 +02:00
Ilya Gorbunov
99eb7f391b
Fix doc wording around covariance/invariance
2020-08-04 00:33:05 +03:00
Ilya Gorbunov
95cc35f22e
Package builtins with jvm reflect into IDEA plugin only
...
Leave builtins with common reflect for stand-alone compiler.
2020-07-22 11:08:14 +03:00
Stanislav Erokhin
0c094b1719
Serialize jvm reflect into builtIns
...
Basically this is revert of 427e34fe5a commit
This was done due to the KT-39728.
Also we do pick every file separately, because builtIn serializer
unable to filter expects
2020-07-22 11:08:14 +03:00
Vyacheslav Gerasimov
77a8cf4e66
Build: Use attributes to resolve test dependencies in jps build mode
2020-06-29 18:17:08 +03:00
Mikhail Zarechenskiy
5d88058928
Place DeprecatedSinceKotlin annotation under 1.4 version
2020-06-29 14:25:06 +03:00
Mikhail Zarechenskiy
158013ef3a
Remove message and replaceWith parameters from DeprecatedSinceKotlin
2020-06-29 14:22:33 +03:00
Alexander Udalov
0aaf29c045
Introduce DeprecatedSinceKotlin annotation
...
This annotation will be used in the standard library to prevent the new
compiler from reporting deprecation diagnostics in case an older API
version is used (where the declaration was not deprecated yet).
#KT-23575 Fixed
2020-06-29 14:22:29 +03:00
Ilya Gorbunov
8194652793
Allow placing Suppress on a type parameter
...
#KT-12448
2020-04-03 19:36:37 +03:00
Ilya Gorbunov
f3fc1197ae
Add SIZE_BITS and SIZE_BYTES constants to Double and Float
...
#KT-29182
2020-04-01 08:06:57 +03:00
Ilya Gorbunov
1c93911279
Make Double and Float known values constant
...
#KT-13887
2020-04-01 08:06:57 +03:00
Vyacheslav Gerasimov
a4030d3abf
Build: Make JavaExec relative path system independent
2020-03-03 16:47:55 +03:00
Vyacheslav Gerasimov
1f3755248c
Build: Make task inputs relative to improve caching
2020-01-24 19:40:00 +03:00
Vyacheslav Gerasimov
760e34aeec
Build: Fix type of builtinsJar task
...
Should be org.gradle.api.tasks.bundling.Jar
2020-01-24 19:39:59 +03:00
Vyacheslav Gerasimov
8dd6a34e17
Build: Make :core:builtins:serialize task cacheable
2020-01-24 19:39:58 +03:00
Ilya Gorbunov
8f37ace9ee
Finally drop deprecated mod functions from numeric types
...
#KT-26654
2020-01-23 19:28:22 +03:00
Abduqodiri Qurbonzoda
1203df7405
Deprecate floating point to integral types lesser than Int #KT-30360
2020-01-22 23:27:35 +03:00
Ilya Gorbunov
427e34fe5a
Do not serialize JVM kotlin.reflect to builtins
...
Serialize common types from kotlin-reflect as builtins instead.
2020-01-16 15:32:29 +03:00
Alexander Udalov
e0b9ffa780
Regenerate builtins sources
2020-01-03 13:09:43 +01:00
Ilya Chernikov
315a9d66a0
Refactor more tasks to lazy API
2019-08-21 20:20:08 +02:00
Abduqodiri Qurbonzoda
432828a2db
Clarify floating-point to integral conversion rounding behaviour
2019-08-15 00:57:27 +03:00
Abduqodiri Qurbonzoda
96dcafdf35
Document order of array elements initialization (KT-32353)
2019-07-11 21:18:47 +03:00
nikita.movshin
abb7d3ab46
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update 2 lines comment
2019-04-23 20:09:27 +03:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Abduqodiri Qurbonzoda
636ed025da
Replace "binary representation of" with "bits of"
2019-03-22 21:18:27 +03:00
Abduqodiri Qurbonzoda
960797b926
Replace mistaken "bit sign" with "sign bit"
2019-03-22 21:18:27 +03:00
Abduqodiri Qurbonzoda
f36a8db8eb
More detailed Primitive.toChar conversion documentation
2019-03-22 21:18:27 +03:00
Ilya Gorbunov
b0a234ec74
Minor: collection docs formatting
2019-03-19 03:12:09 +03:00
Ilya Gorbunov
bc444df20c
Clarify behavior of MutableSet.add (KT-29373)
2019-03-19 03:12:04 +03:00
Abduqodiri Qurbonzoda
814d6cf39c
Document Array and String get() function behavior (KT-30141)
2019-03-15 17:40:19 +03:00
Ilya Gorbunov
ffe8b4419c
Docs: use consistent kotlinlang.org url in references
2019-03-13 17:53:37 +03:00
Abduqodiri Qurbonzoda
a0e2ca669b
Write docs for primitive types conversions
2019-03-13 13:14:37 +03:00
Ilya Gorbunov
6bcd112062
Drop obsolete artifact kotlin-runtime
...
Remove suppresses used to compile some parts of stdlib
as a non-multiplatform project.
2019-02-18 19:20:30 +03:00
Vyacheslav Gerasimov
1ba80adc7f
Build: Publish internal maven artifact for builtins
...
#KT-29204
2019-01-21 17:01:43 +03:00
Vyacheslav Gerasimov
46d9d5456f
Build: Change builtins artifact configuration to default
2019-01-21 17:01:43 +03:00
Vyacheslav Gerasimov
0d8c779190
Build: Change builtins serialization task output directory to local
2019-01-21 17:01:43 +03:00
Ilya Gorbunov
ef278ea030
Improve Any.equals/hashCode docs
...
- add code formatting
- remove 'reference' adjective, as Kotlin doesn't distinguish primitives from reference types
- add the requirement of inequality to null
- replace inaccurate note with a link to the reference (relates to KT-26604)
#KT-14866
2019-01-11 21:03:19 +03:00