Mikhael Bogdanov
95d95f9a9b
Put reification markers came from super object signature
...
#KT-44770 Fixed
#KT-30696 Open
2021-04-30 17:34:16 +02:00
Sergey Shanshin
8dd307573a
Fix IR compilation of external serializers in native
2021-04-30 18:17:08 +03:00
Mikhail Glukhikh
80a449862e
FIR: implement diagnostics for qualifier as stand-alone expression case
2021-04-30 17:59:45 +03:00
Mikhail Glukhikh
84ccf7bbb1
FIR: use Java 8 rules in not implemented checker
2021-04-30 17:59:38 +03:00
Mikhail Glukhikh
5de8401494
Reset FirQualifiedNameResolver properly
2021-04-30 17:59:32 +03:00
Victor Petukhov
4fb78fab93
Temporary disable failing jspecify tests on Windows
2021-04-30 17:50:56 +03:00
Victor Petukhov
c9568c0744
Fix FIR tests
2021-04-30 16:49:56 +03:00
Victor Petukhov
7c62e9aecd
Introduce warnings reporting by missed constraints because of incorrect optimization in the constraints processor
2021-04-30 15:46:04 +03:00
Victor Petukhov
e110b49cab
Revert "Don't stop constraints processing if all type variables have proper equality constraints"
...
This reverts commit b87c2a15
2021-04-30 15:46:03 +03:00
Andrey Zinovyev
287ff3ed55
[FIR] Fix for AugmentedArraySetCall expression type
...
Hacky fix so it's type is Unit and not error
2021-04-30 15:25:44 +03:00
Simon Ogorodnik
6365164c21
FIR: Fix gradle integration tests broken by c6fa3634
2021-04-30 15:19:58 +03:00
Sergey Bogolepov
13464cce68
[Native] Adapt Skia interop to ClangArgs refactoring.
2021-04-30 12:07:46 +00:00
Victor Petukhov
f330d67740
Mute foreign annotations tests with compiled java through psi class files reading
2021-04-30 14:43:28 +03:00
Victor Petukhov
78ffefe107
Add jspecify license
2021-04-30 14:43:27 +03:00
Victor Petukhov
909f0d8bdb
Implement caching module annotations per class id
2021-04-30 14:43:27 +03:00
Victor Petukhov
2e57ff25ee
Leave KotlinCliJavaFileManager::findClass only passing JavaClassFinder.Request
2021-04-30 14:43:27 +03:00
Victor Petukhov
072bba109f
Move foreign annotations logic into the corresponding configurator for the tests
2021-04-30 14:43:27 +03:00
Victor Petukhov
e93133a28f
Implement jspecify marks processing in the tests properly, by adding specific handler and cleanuper
2021-04-30 14:43:27 +03:00
Victor Petukhov
b9536a25d6
Support type enhancement on freshly supported module level annotations
...
^KT-45189 Fixed
2021-04-30 14:43:27 +03:00
Victor Petukhov
bc5e92033b
Support reading annotations on java 9 module on sources and binaries
2021-04-30 14:43:27 +03:00
Victor Petukhov
24685ee9d6
Add directive ALL_JAVA_AS_BINARIES and use it explicitly for foreign annotations tests with compiled java
2021-04-30 14:43:27 +03:00
Victor Petukhov
89270399db
Update some third-party annotations
2021-04-30 14:43:26 +03:00
Victor Petukhov
cdcde634e8
Add basic Java 9 module tests
2021-04-30 14:43:26 +03:00
Victor Petukhov
757fdb2b32
Add Java 9 jspecify annotations including module level ones
2021-04-30 14:43:26 +03:00
Victor Petukhov
71755b7a5e
Support java 9 modules in the diagnostic tests both in sources and binaries
2021-04-30 14:43:26 +03:00
Victor Petukhov
1f0616439c
Introduce special common directives for tests based on foreign annotation tests
2021-04-30 14:43:26 +03:00
Victor Petukhov
6065f0e2d0
[Jspecify] Move diagnostic tests against compiled java under the new tests infrastructure
2021-04-30 14:43:26 +03:00
Victor Petukhov
8f097b14cc
[Jspecify] Move jspecify test runner under the new tests infrastructure
2021-04-30 14:43:26 +03:00
Victor Petukhov
6f9694174f
Move foreign annotation tests into diagnostics folder
2021-04-30 14:43:25 +03:00
Victor Petukhov
57bd4d3a98
[Jspecify] Remove Kotlin use sites generator: consider manually picking changes from the jspecify repo
2021-04-30 14:43:25 +03:00
Victor Petukhov
49e838781c
Clean-up JavaModuleInfo.kt
2021-04-30 14:43:25 +03:00
Vasily Levchenko
788d3c022a
[build][kotlin-build-gradle-plugin] version 0.0.27
...
- reading konanVersion and konanMetaVersion from project properties
2021-04-30 10:26:36 +00:00
Vasily Levchenko
9cbcafa8d1
[dependencies][kotlin-build-gradle-plugin] version 0.0.27
...
- reading konanVersion and konanMetaVersion from project properties
2021-04-30 10:26:35 +00:00
Dmitry Petrov
72804d2e8c
JVM_IR KT-45779 don't generate intrinsic method refs via invokedynamic
2021-04-30 12:45:11 +03:00
Sergey Bogolepov
f3a935adb9
Support explicit C++ flags in run_konan tool
2021-04-30 08:39:27 +00:00
Sergey Bogolepov
25ebb3fa75
Remove obsolete Gradle native plugin configuration
2021-04-30 08:39:27 +00:00
Sergey Bogolepov
274d18a141
[Kotlin/Native] Add a workaround for Xcode 12.5
...
SDKs from Xcode 12.5 contain C++ stdlib and it
breaks compilation of C++ parts of compiler.
Mitigate this problem by explicitly specifying
path to C++ stdlib.
2021-04-30 08:39:26 +00:00
Victor Petukhov
8dd71ec5c8
Build recursive raw types and raw types which contain type parameters properly
...
1) Substitute erasure of other type parameters
2) Use star projection at top level for recursive raw types
^KT-46126 Fixed
2021-04-30 10:49:47 +03:00
Andi Wenger
f9d2ca68ce
KJS IR: Fix KT-45738 - Consider recursive checkForPrimitiveOrPattern
...
Recursive results from checkForPrimitiveOrPattern were ignored. If it found a case/condition that could not be optimized the resulting "false" was not propagated. This would lead to a "optimized" when without all conditions.
- see KT-45738
- The return is now lifted out of the when to make it more obvious what is going on.
- New test for mixed multiple conditions in when
2021-04-29 23:52:01 +03:00
Ilya Kirillov
caff279255
FIR IDE: add missing binary extensions
...
This also reveals and error in find usages for fir: it does not work for library source files
So, corresponding tests are muted
2021-04-29 23:31:05 +03:00
Andrey Zinovyev
e4a5775570
Remove duplicated code in annotation-based-compiler-plugins-ide-support
2021-04-29 23:14:16 +03:00
Andrey Zinovyev
8afb6d2761
[lombok] Support import from gradle to IDE
...
Introduce base module for ide compiler plugins
2021-04-29 23:14:15 +03:00
Andrey Zinovyev
b58bea6fa1
[lombok] IDE plugin with maven import handler
2021-04-29 23:14:14 +03:00
Andrey Zinovyev
07daf2165a
[lombok] Rename maven subplugin to 'lombok'
2021-04-29 23:14:13 +03:00
Andrey Zinovyev
b88f54b31a
[lombok] Add maven plugin integration test with kapt
2021-04-29 23:14:12 +03:00
Andrey Zinovyev
3e883120dd
[lombok] Simple maven plugin to enable lombok support
2021-04-29 23:14:11 +03:00
Ivan Kochurkin
7ec709cf46
FIR: fix incorrect reporting of underscores, simplify code, fix test data file
2021-04-29 22:31:39 +03:00
Jinseong Jeon
9b39a8abc2
FIR: avoid wrapping an erroneous type as FirResolvedTypeRef
...
Instead, use FirErrorTypeRef, a subtype of FirResolvedTypeRef
2021-04-29 22:31:38 +03:00
Alexander Gorshenev
887032667d
[Kotlin/Native][Interop] Skia interop plugin for cinterop
2021-04-29 21:43:26 +03:00
Vladimir Ivanov
5f582ad28a
[Kotlin/Native][Interop] Provide pure c wrappers over cpp for skia interop
2021-04-29 21:43:25 +03:00