Commit Graph

61509 Commits

Author SHA1 Message Date
Dmitry Gridin 8d48d899d0 Create ProhibitRepeatedUseSiteTargetAnnotationsMigrationInspection
#KT-36257 Fixed
2020-02-10 17:04:07 +07:00
Dmitry Gridin 266a7a67f0 Create ProhibitUseSiteTargetAnnotationsOnSuperTypesMigrationInspection
#KT-36258 Fixed
2020-02-10 17:04:07 +07:00
Dmitry Gridin 181dd432ca RestrictReturnStatementTargetMigrationInspection: add quickfix
#KT-36262 Fixed
2020-02-10 17:04:07 +07:00
Dmitry Gridin f1bad0c9ae Convert RemoveReturnLabelFix from LocalQuickFix to KotlinQuickFixAction 2020-02-10 17:04:07 +07:00
Dmitry Gridin e9dc1e07b9 Extract RemoveReturnLabelFix 2020-02-10 17:04:07 +07:00
Dmitry Gridin 311860699e Create RedundantLabelMigrationInspection
#KT-36262
2020-02-10 17:04:06 +07:00
Dmitry Gridin 2441ee80e4 Create RestrictReturnStatementTargetMigrationInspection
#KT-36262
2020-02-10 17:04:06 +07:00
Dmitry Gridin 2f3e3b9c9e Create ProhibitJvmOverloadsOnConstructorsOfAnnotationClassesMigrationInspection
#KT-36260 Fixed
2020-02-10 17:04:06 +07:00
Dmitry Gridin cbcc76c3ff Create ProhibitTypeParametersForLocalVariablesMigrationInspection
#KT-36261 Fixed
2020-02-10 17:04:06 +07:00
Dmitry Gridin 8c455d9e08 Create AbstractDiagnosticBasedInspection 2020-02-10 17:04:06 +07:00
Victor Petukhov ae39d748e4 NI: Try to solve constraint system with another flexibility from a type variable if couldn't solve
^KT-36254 Fixed
2020-02-10 12:31:42 +03:00
Dmitriy Novozhilov b5dd16784a [FIR] Add .gitattributes for correct line endings on windows 2020-02-10 11:58:54 +03:00
Dmitry Petrov b9357b5486 Fix project build, part 2 2020-02-10 11:49:54 +03:00
Dmitry Petrov 5aa6d1d64b Fix project build 2020-02-10 11:29:03 +03:00
Dmitriy Novozhilov 031a79528a [FIR] Fix compiler error in build.gradle.kts 2020-02-10 11:23:43 +03:00
Dmitriy Novozhilov 55215ba187 [FIR] Fix generation root for FIR tree 2020-02-10 11:20:22 +03:00
Dmitriy Novozhilov abfd87411d [FIR-TEST] Mute failing tests with java kotlin supertypes cycle 2020-02-10 10:54:05 +03:00
Dmitriy Novozhilov 779ab632da [FIR] Remove modifiable intermediate implementations from tree
All removed except `FirModifiableQualifiedAccess`
2020-02-10 10:54:05 +03:00
Dmitriy Novozhilov 3d671cbbad Fix compiler error in test generator 2020-02-10 10:54:04 +03:00
Dmitriy Novozhilov 5ceb68f19f [FIR-TEST] Update some testdata 2020-02-10 10:54:04 +03:00
Dmitriy Novozhilov 4b6c2f7a65 [FIR] Remove equality by fir from symbols 2020-02-10 10:54:04 +03:00
Dmitriy Novozhilov c79fd61dba [FIR] Fix usage of typeParameterStack from parent class in java loading 2020-02-10 10:54:03 +03:00
Dmitriy Novozhilov dd67568cf6 [FIR] Fix recursive annotation deserialization 2020-02-10 10:54:03 +03:00
Dmitriy Novozhilov d57fa859c8 [FIR] Implement builders for leaf nodes of FIR tree 2020-02-10 10:54:03 +03:00
Dmitriy Novozhilov b0c1387279 [FIR] Remove legacy annotation @VisitedSupertype 2020-02-09 20:01:43 +03:00
Dmitriy Novozhilov fcd9ef043c [FIR] Reorganize some utility code of tree generator 2020-02-09 20:01:43 +03:00
Georgy Bronnikov f7c784adeb JVM_IR: minor code cleanup in JvmStaticAnnotationLowering 2020-02-09 13:23:05 +03:00
Georgy Bronnikov 182e1c1b3b JVM_IR: Remove buggy special case accessor code from JvmStaticAnnotationLowering
General purpose accessors in SyntheticAnnotationLowering are sufficient.
2020-02-09 13:12:33 +03:00
Vladimir Dolzhenko b451c25dba Fixed MoveJavaInnerClassKotlinUsagesHandler after obsolete API drop off
Relates to #KT-35918
2020-02-09 08:54:44 +01:00
Vladimir Dolzhenko 5b48f63bb9 Added missed runReadAction to access psi on bg thread
Relates to #KT-24122
2020-02-08 15:06:51 +01:00
Vladimir Dolzhenko ce2d32620a Add JoinWithTrailingCommaHandler to plugin-common.xml 191, 192 2020-02-07 22:21:23 +01:00
Steven Schäfer 304700cf7b JVM IR: Add all relevant overridden symbols to generated bridge methods 2020-02-07 18:44:50 +03:00
Steven Schäfer 951b2fa770 JVM IR: Optimize type checks to null checks if possible 2020-02-07 18:44:50 +03:00
Steven Schäfer 07737f8fc6 JVM IR: Fix BridgeLowering 2020-02-07 18:44:50 +03:00
Steven Schäfer 461d8ef368 Add renaming special bridges to SpecialBridgeMethods 2020-02-07 18:44:50 +03:00
Steven Schäfer 5f6af58aeb JVM IR: (Un)mute tests and add more tests for bridge generation 2020-02-07 18:44:50 +03:00
Steven Schäfer 12e31a1760 JVM IR: Use dispatchReceiver to calculate owner in MethodSignatureMapper 2020-02-07 18:44:50 +03:00
Steven Schäfer 0e243ca295 JVM IR: Fix receiver types in AddContinuationLowering 2020-02-07 18:44:50 +03:00
Steven Schäfer a4414829bc JVM IR: Fix dispatch receiver type in ResolveInlineCalls 2020-02-07 18:44:50 +03:00
Steven Schäfer f46ad10266 JVM IR: Fix dispatch receiver type in InheritedDefaultMethodsOnClassesLowering 2020-02-07 18:44:50 +03:00
Steven Schäfer edd0ac6c6f JVM IR: Fix types of temporaries in AddContinuationLowering 2020-02-07 18:44:50 +03:00
Steven Schäfer 30166b20b7 JVM IR: Fix dispatch receiver types in FunctionNVarargBridgeLowering and ReplaceKFunctionInvokeWithFunctionInvoke 2020-02-07 18:44:50 +03:00
Steven Schäfer 66cbe3b1a8 JVM IR: Remove IrReplacementFunction 2020-02-07 18:44:50 +03:00
Steven Schäfer 73b4f897b6 JVM IR: Fix modalities in JvmSymbols 2020-02-07 18:44:50 +03:00
Vladimir Dolzhenko cfcdf05c92 Fix documentListener leakage in PluginStartupActivity
Relates to #KT-35918
2020-02-07 16:34:28 +01:00
Pavel Kirpichenkov fee72839bf Report error if IR is enabled with incorrect language version
^KT-36338 Fixed
2020-02-07 16:10:03 +03:00
Alexander Udalov feccf9cc1b Remove dependency of fir.tree on ir.tree 2020-02-07 13:02:11 +01:00
Ilya Matveev 10d2eebe28 Gradle, native: Fix running cinterop on Windows hosts 2020-02-07 18:51:07 +07:00
Mark Punzalan 8cdef13537 [JVM IR] Add tests to verify correct parameter reflection metadata for
suspend functions.
2020-02-07 12:24:13 +01:00
pyos 06408011f0 JVM_IR: prefer to move, not copy, suspend lambda bodies
Copying breaks reflection metadata.
2020-02-07 12:16:26 +01:00