Alexander Likhachev
072492386d
[Gradle, JS] Return back package.json handlers
2021-04-07 13:15:10 +03:00
Igor Yakovlev
39edcb0f29
[FIR IDE] Fix invalid caches reset for Fir Renderer tests
2021-04-07 11:25:22 +02:00
Igor Yakovlev
7d3be9eafa
[FIR IDE] Implement fir renderer for IDE
2021-04-07 11:25:22 +02:00
Igor Yakovlev
f2e02c2d50
[FIR IDE] Fixed invalid type parameters for inner classes
2021-04-07 11:25:22 +02:00
Igor Yakovlev
ea8858e694
[FIR] Add contaning class lookup element for local FirRegular classes
2021-04-07 11:25:22 +02:00
Igor Yakovlev
a428cc6eb4
[FIR IDE] Add symbol kind to Kt accessor symbols
2021-04-07 11:25:22 +02:00
Igor Yakovlev
ff9edb8776
[FIR IDE] Fixed getting symbols for lambda literal
2021-04-07 11:25:22 +02:00
Igor Yakovlev
d05ef3a635
[FIR] Move standard class id's into common module
2021-04-07 11:25:21 +02:00
Alexander Likhachev
df8682650a
[Build] Enable Gradle file system watching by default
2021-04-07 12:23:39 +03:00
Alexander Likhachev
cc722d0a2c
[Build] Bump Gradle to v6.8.3
...
#KTI-542 Fixed
2021-04-07 12:23:32 +03:00
Andrey Zinovyev
0f04fac5b2
[FIR] Add BOUNDS_NOT_ALLOWED_IF_BOUNDED_BY_TYPE_PARAMETER diagnostic
2021-04-07 08:19:31 +00:00
Abduqodiri Qurbonzoda
b0f1ddc91e
Advance max/min(By/With) deprecation level to ERROR
2021-04-07 07:49:23 +03:00
Ilya Gorbunov
d70edeb38b
Hide deprecated JS Math object from public API and rename to JsMath
...
KT-41318
- Rename Math to JsMath and remove unused functions
- Fix return types, remove duplicating JsMath from longjs.kt
Co-authored-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2021-04-07 00:39:47 +03:00
Abduqodiri Qurbonzoda
d9ab96126d
Advance deprecation level of mixed Int/FP overloads of ClosedRange.contains to HIDDEN KT-22423
2021-04-07 00:23:34 +03:00
Abduqodiri Qurbonzoda
7a6cddf6fe
[K/N] Advance String(CharArray) deprecation level to ERROR
2021-04-07 00:23:32 +03:00
Abduqodiri Qurbonzoda
d28d0a6321
Advance String(CharArray) deprecation level to ERROR in Common and JS
2021-04-07 00:23:29 +03:00
Abduqodiri Qurbonzoda
29040d6f53
Remove deprecated Clock and ClockMark
2021-04-07 00:23:28 +03:00
Abduqodiri Qurbonzoda
abcc572b97
Remove deprecated scanReduce and scanReduceIndexed
2021-04-07 00:23:26 +03:00
Abduqodiri Qurbonzoda
8300180261
[K/N] Remove AfterEach and BeforeEach typealiases in kotlin-test
2021-04-07 00:23:24 +03:00
Abduqodiri Qurbonzoda
c46d71d4ac
Remove DefaultAsserter() constructor-like function in kotlin-test
2021-04-07 00:23:22 +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
Ivan Kochurkin
404c69ded7
[FIR] Implement INCORRECT_CHARACTER_LITERAL, EMPTY_CHARACTER_LITERAL, TOO_MANY_CHARACTERS_IN_CHARACTER_LITERAL, ILLEGAL_ESCAPE, ILLEGAL_ESCAPE_SEQUENCE diagnostics, fix tests
2021-04-06 20:44:32 +03:00
Abduqodiri Qurbonzoda
91d42fe345
[K/N] Advance deprecation level of subarrayContentToString to ERROR
2021-04-06 18:44:22 +03:00
Abduqodiri Qurbonzoda
7fdf7c6175
[K/N] Move declarations from Text.kt to Strings.kt and StringBuilder.kt
2021-04-06 18:44:20 +03:00
Abduqodiri Qurbonzoda
71afd112c6
[K/N] Remove old String and utf8 conversion api #KT-31343
2021-04-06 18:43:41 +03:00
Abduqodiri Qurbonzoda
e8992c5d19
Advance deprecation level of InputStream.readBytes(estimatedSize) to ERROR
2021-04-06 18:42:53 +03:00
Renee Vandervelde
d520c37454
Add assertEquals and assertNotEquals for floating point numbers to kotlin-test #KT-8364
2021-04-06 18:37:09 +03:00
Abduqodiri Qurbonzoda
ff59b1c2ef
Introduce assertContains in kotlin-test #KT-45582
2021-04-06 18:36:56 +03:00
Alexander Likhachev
8440c5722f
[Gradle] Read property idea.active in tests registry via Gradle provider
2021-04-06 18:17:34 +03:00
Ivan Gavrilovic
4e5f6492d9
[Gradle, MPP] Make init script for tests compatible w/ conf cache
...
Avoid using `beforeTask` API and switch to ones that are
compatible with Gradle configuration cache.
2021-04-06 18:17:34 +03:00
Svyatoslav Scherbina
df77cd303f
Don't use exitProcess to indicate a failure in Native library resolver
...
If Native compiler performs exitProcess, it crashes Gradle daemon that
runs the compiler.
2021-04-06 13:18:07 +00:00
Ilya Gorbunov
f1cdd0e2ed
Add description for kotlin.io.path package
2021-04-06 14:24:43 +03:00
Ilya Gorbunov
81f2aea316
Stabilize existing Path API and annotate with @Throws where appropriate
...
KT-45913
2021-04-06 14:24:42 +03:00
Tianyu Geng
1496c82108
FIR IDE: add TypeInfoProvider and mixin to host type utils
2021-04-06 13:19:00 +02:00
Tianyu Geng
4d505f4393
FIR IDE: add intention to add custom accessor to uninitliazed property
2021-04-06 13:19:00 +02:00
Tianyu Geng
78f450a6ef
FIR IDE: move common logic in add accessor intention to idea-frontend-independent
2021-04-06 13:19:00 +02:00
Tianyu Geng
7713d05272
FIR IDE: move some common action classes to idea-frontend-independent
2021-04-06 13:19:00 +02:00
Tianyu Geng
6d69959bfd
FIR IDE: register quickfix to add lateinit modifier
2021-04-06 13:19:00 +02:00
Tianyu Geng
d5ea68c585
FIR IDE: add quick fix to add initializer for MUST_BE_INITIALIZED_OR_BE_ABSTRACT
2021-04-06 13:19:00 +02:00
Tianyu Geng
72f7405e4a
FIR IDE: add quickfix to add abstract modifier for MUST_BE_INITIALIZED_OR_BE_ABSTRACT
2021-04-06 13:19:00 +02:00
Ilya Kirillov
638e192f8c
FIR IDE: add // FIR_IDENTICAL to Jet53.kt
2021-04-06 13:13:21 +02:00
Ilya Kirillov
ed0f2751d1
FIR IDE: fix invalid isTeamCityBuild in tests
2021-04-06 13:13:21 +02:00
Pavel Punegov
e23d09beb6
[Native] Return kotlinCompilerRepo parameter back
...
This parameter is used to specify maven path in case of kotlin_version
rewriting that happens during Nightly test runs.
2021-04-06 09:59:08 +00:00
Dmitriy Novozhilov
3ef87d0265
[FIR] Add effective visibility to resolved status
...
This commit includes:
- introduce FirResolvedDeclarationStatus.effectiveVisibility
- replace FirEffectiveVisibility with EffectiveVisibility
- move calculation of effective visibility from FirEffectiveVisibilityResolver
(which is deleted) to FirStatusResolver and FirDeserializer
2021-04-06 12:30:46 +03:00
Dmitriy Novozhilov
a600d18396
[FIR] Resolve statuses of all classes on path in FirDesignatedStatusResolveTransformer
...
This is required for calculating of effective visibility, because it
depends on effective visibility of outer class (those changes are
added in next commit)
Also fix incorrect designation building for local classes
2021-04-06 12:30:45 +03:00
Dmitriy Novozhilov
220f8a9169
Make EffectiveVisibility methods take typeContext instead initializing it in constructor
...
This is needed to reuse EffectiveVisibility in FIR, because typeContext
in it is used to call `isSubtypeOf`, and in FIR it's required to use
context from use site session (to see all declaration which are
available in module)
2021-04-06 12:30:44 +03:00
Dmitriy Novozhilov
d7cd9e4c44
[FIR] Cleanup FirStatusTransformerExtension
2021-04-06 12:30:43 +03:00
Dmitriy Novozhilov
66668b2294
[FIR] Support resolve of local typealiases
2021-04-06 12:30:42 +03:00
Dmitriy Novozhilov
3cb17ac2f0
[FIR] Implement FirReturnAllowedChecker
...
Supported diagnostics:
- RETURN_NOT_ALLOWED
- RETURN_IN_FUNCTION_WITH_EXPRESSION_BODY
2021-04-06 12:30:41 +03:00
Dmitriy Novozhilov
254ff77977
[FIR] Fix creating source for return expressions in light tree fir builder
2021-04-06 12:30:39 +03:00