Nicolay Mitropolsky
903f35ce0c
Uast: don't fall on empty when entries (EA-231339)
2020-05-06 15:31:19 +03:00
Dmitry Petrov
3143b15a17
Generate widening cast for Byte and Short to Int
2020-05-06 14:42:37 +03:00
Mikhail Glukhikh
427973fe48
FIR serializer: fix typo in finding argument name
2020-05-06 13:10:13 +03:00
Jinseong Jeon
deb8e1f9db
IR: cleanup unused implementation in WrappedDescriptors
...
This is partial revert of 08ca6f5 , which set metadata field of IR
symbols during FIR2IR conversion, triggering some paths in IR
codegen to use wrapped descriptors copy builder and others to
serialize. Now FIR element-based metadata serialization is in,
those additions were not needed anymore.
2020-05-06 13:10:07 +03:00
Jinseong Jeon
0c7ed04260
FIR: make (K)SuspendFunctionX derived from (K)Function
2020-05-06 13:09:32 +03:00
Mikhail Glukhikh
9eee089740
FIR: regenerate diagnostic tests
2020-05-06 13:09:26 +03:00
Mikhail Glukhikh
f7137fe860
Slightly polish FirAnnotationClassDeclarationChecker
2020-05-06 10:42:39 +03:00
Likholetov Mikhail
aa706d322d
[FIR] Support several annotation class diagnostics
2020-05-06 10:32:01 +03:00
Mikhail Zarechenskiy
1e8dff6a7c
Fix bunch files after removing IDE option
...
Follow-up of c01a171d
2020-05-04 15:48:33 +03:00
Mikhail Zarechenskiy
b2ca61e8a5
Fix compilation, remove import
2020-05-04 15:43:46 +03:00
Mikhail Zarechenskiy
c01a171d4c
Revert "Add option to enable new inference only for IDE analysis"
...
This reverts commit a3247b1b92 .
#KT-37378 Fixed
2020-05-04 15:14:43 +03:00
Mikhail Zarechenskiy
d7dfe9e1e5
FUS Collector: remove metric about using new inference in IDE
...
Now it's not needed as new inference is enabled by default
2020-05-04 15:14:28 +03:00
Alexander Udalov
54f9f130e2
Do not generate references as adapted with -Xno-optimized-callable-references
...
The reason for this is that this flag is used right now in 'cli-common'
to workaround the problem that this module is compiled with API version
1.4, but runs with stdlib of version 1.3 (bundled to Gradle). The same
problem would appear with adapted function references, since we use
kotlin/jvm/internal/AdaptedFunctionReference in the bytecode, only
available since 1.4.
The fix is to generate adapted references in this case as subclasses of
the already existing kotlin/jvm/internal/FunctionReference. This can
change behavior in some extreme corner cases (because such references
can now be observed to have reflection capabilities), but it's an -X
argument anyway.
Another option would be to introduce another compiler argument
specifically for this, but it looks like it would only complicate things
without much benefit.
2020-05-04 13:24:53 +02:00
Mikhail Bogdanov
4f7599076c
Postpone JvmDefault deprecation. Revert "Deprecate @JvmDefault"
...
This reverts commit c11f3868
2020-05-04 10:02:16 +02:00
Vladimir Dolzhenko
911dfde0fe
Add highlighting perf test with empty profile
2020-05-04 09:48:17 +02:00
Dmitry Gridin
32be4c03ca
ExtractSuperRefactoring: add quoteSegmentsIfNeeded()
2020-05-04 03:49:32 +00:00
Dmitry Gridin
86de734f26
KotlinExtractSuperclassDialog: cleanup code
2020-05-04 03:49:31 +00:00
Dmitry Gridin
ccfea97390
CopyKotlinDeclarationsHandler: fix for package with backticks
...
#KT-38543 Fixed
2020-05-04 03:49:30 +00:00
Dmitry Gridin
b058dc12df
packageUtils: cleanup code
2020-05-04 03:49:30 +00:00
Dmitry Gridin
ac9ad30681
SetterBackingFieldAssignmentInspection: fix exception
...
#KT-38520 Fixed
2020-05-04 03:49:29 +00:00
Dmitry Gridin
6f5b3aebe1
KotlinIntroduceVariableHandler: fix CCE for destruction declaration
...
#EA-219701 Fixed
2020-05-04 03:49:28 +00:00
Dmitry Gridin
8e35b7a29c
KotlinIntroduceVariableHandler: fix for declarations with expression body
...
#KT-38449 Fixed
2020-05-04 03:49:28 +00:00
Dmitry Gridin
d21e383094
KotlinIntroduceVariableHandler: cleanup code
2020-05-04 03:49:27 +00:00
Dmitry Petrov
b574917314
Minor: update FIR2IR testData
2020-05-01 17:55:49 +03:00
Mads Ager
6257b32954
[JVM_IR] Avoid boxing when comparing primitive to object.
2020-05-01 17:53:34 +03:00
Vladimir Dolzhenko
7e55336300
Add yourKit profiler to perfTests
2020-05-01 12:35:38 +02:00
Dmitry Petrov
a564d47158
Minor: unmute FIR black box test
...
Guys, please, can you do it yourself?
2020-05-01 13:14:21 +03:00
Dmitry Petrov
1d10776db4
Minor: update FIR2IR testData
2020-05-01 13:14:21 +03:00
Mads Ager
db17184cfd
[JVM_IR] Avoid some boxing when comparing boxed primitives to primitives.
2020-05-01 13:14:20 +03:00
Dmitry Savvinov
f3830cb07e
Make KotlinNativeTasks.konanTargetsForManifest non-nullable, otherwise Gradle fails
2020-05-01 12:56:10 +03:00
Dmitry Savvinov
686d00ddf5
Collect and pass to K2Native actual targets of native-shared compilation
...
^KT-38658 Fixed
2020-04-30 20:05:45 +03:00
Yunir Salimzyanov
550aa1ba59
Remove partial quotes in csv files
...
Cause: github do not want to render fields with such kind of quotes
2020-04-30 19:30:56 +03:00
Yunir Salimzyanov
cf8b29a636
Add missing commas to csv files
2020-04-30 19:30:56 +03:00
Yunir Salimzyanov
856d8e64a2
Escape fields with extra commas in csv for muted tests
2020-04-30 19:30:55 +03:00
Valentin Kipyatkov
5d60572cfd
Temporarily disabled optimization because of failing tests
2020-04-30 15:45:24 +03:00
Vladimir Ilmov
1128d659a4
(CoroutineDebugger) No restored frames in coroutine context found.
2020-04-30 13:14:41 +02:00
Mikhail Glukhikh
87393398f2
FIR serializer: fix isLambda copying
2020-04-30 13:54:27 +03:00
Natalia Selezneva
d716c47f17
Gradle Project importing: move ModelBuilders and ModelProviders to kotlin-gradle-tooling
...
^KT-36673 Fixed
2020-04-30 13:41:13 +03:00
simon.ogorodnik
6ca3a994d9
[FIR2IR] Disable initializer generation for external enum entries
2020-04-30 13:31:12 +03:00
simon.ogorodnik
4133749ee7
[FIR2IR] Fix property fake overrides
2020-04-30 13:22:17 +03:00
simon.ogorodnik
a11866ab5a
[FIR2IR] Fix labeled this references
2020-04-30 13:15:43 +03:00
Mikhail Glukhikh
3d60fdfed1
Raw FIR: don't check class kind for data / inline modifiers
2020-04-30 13:15:24 +03:00
Jinseong Jeon
9a561f4a7c
FIR2IR: generate synthetic members for inline class
2020-04-30 13:09:53 +03:00
simon.ogorodnik
ef8bcceb8e
[FIR2IR] Use only data class primary constructor parameters for equals
2020-04-30 13:03:30 +03:00
Jinseong Jeon
0890b8bad3
FIR2IR: set superQualifierSymbol for property access
2020-04-30 12:26:47 +03:00
Jinseong Jeon
a084c5bf7d
FIR2IR: populate overriddenSymbols for overriding properties
2020-04-30 12:25:48 +03:00
rapturemain
02aa11a0a0
[FIR] Support for EXPOSED_TYPE_PARAMETER_BOUND
2020-04-30 12:08:43 +03:00
Abduqodiri Qurbonzoda
bfffcf6b23
Update BoxJsTest expected reachable nodes because of new collection builders
2020-04-30 02:28:41 +03:00
Abduqodiri Qurbonzoda
ec166db506
Implement collection builders
2020-04-30 02:28:41 +03:00
Anton Yalyshev
1bf41ba7d2
Remove 191 support because of outdated platform whitelist API
2020-04-30 01:06:04 +03:00