Denis Zharkov
d6ee774243
Load some of the TYPE_USE annotations in fast class reading mode
...
Only top-level types on fields, methods' return types and
value parameters are supported to catch-up how class-files are loaded
in IntelliJ (see IDEA-153093)
NB: this commit also affects
ForeignJava8AnnotationsNoAnnotationInClasspathWithFastClassReadingTestGenerated
that were failing before
#KT-20016 Fixed
2017-09-26 16:40:47 +03:00
Denis Zharkov
fd9025a4fb
Add Java8 foreign-annotations tests without jsr305.jar in the classpath
...
Some of them are expected to fail since neither IntelliJ class reading
nor our fast class reading can read annotations on type arguments
2017-09-26 16:40:47 +03:00
Nikolay Krasko
ed2c7d3a9f
Minor: fix warnings in increment-version.kts
2017-09-25 20:41:53 +03:00
Ilya Chernikov
099bd2f564
Fix test ProtoBufCompareConsistencyTest.testAlreadyGenerated on ubuntu agents
2017-09-20 11:51:48 +02:00
Ilya Chernikov
d92cce6e6a
Fix build after rebase on master
2017-09-20 11:51:38 +02:00
Simon Ogorodnik
129dc42a25
Fix JPS classpath
2017-09-20 11:51:26 +02:00
Ilya Chernikov
3aabeca191
Fix maven and android tests after modularizing and rebasing
2017-09-20 11:51:21 +02:00
Simon Ogorodnik
360a692af8
Apply rri/yole/modularize, create gradle run configuration for IDEA
2017-09-19 23:58:41 +02:00
Ilya Chernikov
aa34c7d32a
Fix tests after projects rearrangement
2017-09-19 23:58:39 +02:00
Ilya Chernikov
b4c9422376
Rearrange and rename idea-plugin related and annotation-processing modules
2017-09-19 23:58:37 +02:00
Ilya Chernikov
d039d191f2
Fix tests in the new build infrastructure
2017-09-19 23:58:30 +02:00
Alexander Podkhalyuzin
3f8170d369
Clean idea files generated on the gradle import, add them to .gitignore
2017-09-19 23:58:27 +02:00
Ilya Chernikov
deda50dbbb
Continue switching projects to improved dsl: sourceSets and test running
2017-09-19 21:37:26 +02:00
Ilya Chernikov
b6c255cea5
Refactor: project renaming, using improved build dsl
2017-09-19 21:37:22 +02:00
Ilya Chernikov
fac2c16999
Fix generators tests compilation
2017-09-19 21:37:16 +02:00
Ilya Chernikov
61dfb75e0e
Implement Gradle Kotlin DSL build
2017-09-19 21:37:06 +02:00
Yan Zhulanow
e6171dc4c5
Parcelable: Add quick fixes
2017-09-14 19:36:24 +03:00
Anton Bannykh
22dc36a596
JS: enable translation of primitive arrays to TypedArray's by default (KT-17137)
2017-09-13 18:45:19 +03:00
Kirill Rakhman
08103d1cb4
Implement "Surround with try/catch(/finally)" and "Surround with if/else" for expressions
...
Fixes #KT-14175
Fixes #KT-19782
2017-09-12 18:27:47 +03:00
Vyacheslav Gerasimov
89257e6397
Implement light classes for Kotlin scripts
2017-09-12 13:10:38 +03:00
Dmitry Jemerov
59976baac2
Fix path to generated test
2017-09-01 15:27:44 +02:00
Dmitry Jemerov
9eace7b295
Move Gradle tests to idea-gradle module; remove idea dep on idea-gradle
2017-09-01 11:57:37 +02:00
baratynskiy
4f180e1292
javac-wrapper: identifier resolver
2017-08-29 18:01:36 +03:00
baratynskiy
01883a41cb
javac-wrapper: refactoring, fixes and tests
2017-08-29 18:01:36 +03:00
Alexey Tsvetkov
7ecf5abdc7
Add class hierarchy tests to JS and JVM IC tests
2017-08-29 02:24:38 +03:00
Alexey Tsvetkov
7810da7018
Add IC compiler tests with Java
2017-08-29 02:24:37 +03:00
Alexey Tsvetkov
71e8f16906
Generate IC compiler tests instead of using parametrized runner
...
# Conflicts:
# compiler/incremental-compilation-impl/incremental-compilation-impl.iml
2017-08-29 02:24:37 +03:00
Alexander Udalov
770441c212
Merge "diagnostic with Java 8" tests with general diagnostic tests
2017-08-17 13:15:18 +03:00
Alexey Sedunov
787bbe9a4c
Safe Delete: Support header/impl declarations
...
#KT-18433 Fixed
2017-08-15 19:08:29 +03:00
Denis Zharkov
8898455352
Add tests on foreign annotations without them in classpath
...
#KT-19419 Fixed
2017-08-11 10:18:41 +07:00
Alexey Tsvetkov
239943867b
Add JS specific proto comparison test
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
82c977f2d2
Add JS lookup tracker tests
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
6cfd090b20
Extract JVM lookup tracker tests
2017-08-10 21:19:42 +03:00
Alexey Tsvetkov
c601890151
Fix comparing repeated proto extensions
...
Previously ProtoCompareGenerated could
go out of bounds when comparing protos
with different number of annotations.
That happend because JsProtoBuf.parameterAnnotation
is a repeated extension, but the generated code for
comparing repeated extensions was incorrect.
JvmProtoBuf does not have repeated extensions (at least for
the class and package descriptors),
so the problem was not detected before.
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
ed5b6e07aa
Implement JS proto comparison
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
1921950a1b
Extract JVM specific proto comparison test
2017-08-10 21:19:41 +03:00
Alexey Tsvetkov
5dd4e4cdd4
Move JVM specific proto comparison tests to separate dir
2017-08-10 21:19:41 +03:00
Nikolay Krasko
8d226594ff
Put comments and whitespaces under body in script files
...
It's more consistent to normal function body for IDE.
Doc comments in file beginning are now sticks to declarations
correctly.
Moving declarations at the end of scripts is fixed
2017-08-07 12:17:17 +03:00
Nikolay Krasko
6194bc10f8
Move statement out of top-level lambda in scripts (KT-19322)
...
#KT-19322 Fixed
2017-08-07 12:12:41 +03:00
Alexey Sedunov
2984a5a19f
Fix reflection-based operations on compiler arguments after conversion
2017-08-01 19:40:22 +03:00
Nikolay Krasko
5fcefa28a7
Test stub trees compatibility on loadJava/compiledKotlin test data
2017-08-01 16:22:40 +03:00
Alexey Tsvetkov
e602903567
Remove old IC: remove experimental tests
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
8143ca158b
Remove old IC: update on-off tests
2017-07-31 19:34:58 +03:00
Alexey Tsvetkov
e7afb073d9
Remove old IC: remove experimental-expected-kotlin-caches.txt
2017-07-31 19:34:58 +03:00
Yan Zhulanow
4197380621
Parcelable: Add declaration checker
2017-07-26 20:19:16 +03:00
Yan Zhulanow
c23bca6afe
Parcelable: Add Parcelable functionality to Android Extensions plugin
2017-07-26 20:19:15 +03:00
Mikhail Glukhikh
d05a525d8d
Search for KtTypeAlias in safe delete processor
...
Related to KT-16046
2017-07-21 18:59:07 +03:00
Dmitry Petrov
b4d8337ca5
Ignore test for 'primitive Char == object' in JS (KT-19081)
2017-07-21 08:52:29 +03:00
Dmitry Petrov
8e9c0294fe
Do not box primitives for 'primitive == object'
...
NB user-defined 'equals' can violate contract for 'Object#equals', e.g.,
it can be asymmetric.
Thus we can't avoid boxing for 'object == primitive'.
2017-07-21 08:52:29 +03:00
Dmitry Petrov
fa42f202fa
Avoid boxing on 'primitive == boxed' when possible
...
Similar to 'boxed == primitive' case, different bytecode due to
evaluation order.
2017-07-21 08:52:29 +03:00