Alexander Podkhalyuzin
898b31cb83
Merge pull request #1516 from JetBrains/always_fallback_to_hardcoded_plugin_id
...
Use hardcoded plugin ID when loaded in the main classloader
2018-02-15 17:03:29 +03:00
Dmitry Petrov
8bfbbe456f
Use NoScopeRecordCliBindingTrace for codegen tests
2018-02-15 16:40:26 +03:00
Dmitry Petrov
10916b2046
Minor: reformat code
2018-02-15 16:40:13 +03:00
Alexander Udalov
f8424624ca
Minor, check compiler output in ExperimentalIntegrationTest
2018-02-15 13:14:38 +01:00
Alexander Udalov
4a370e9dba
Don't break the "API <= LV" rule in compiler tests
...
Stability of the language version is used for example to determine
whether the PRE_RELEASE_CLASS diagnostic should be reported. Now that
there are pre-release classes in the standard library (Experimental et
al.), we'd like to avoid this error on their usages in diagnostic tests
which are using the "!API_VERSION: 1.3" directive
2018-02-15 13:14:37 +01:00
Alexander Udalov
31e762c679
Move 1.3-specific part of stdlib to another source set
2018-02-15 13:14:37 +01:00
Mikaël Peltier
ef6b6cd261
Fix NPE into isArraySizeAccess
2018-02-15 12:41:33 +03:00
Mikaël Peltier
3c2f137fd5
Exclude tests from JS backend due to a bug into it
2018-02-15 12:41:33 +03:00
Mikaël Peltier
be07a348ea
Reformat tests
2018-02-15 12:41:33 +03:00
Mikaël Peltier
8676ca34d7
KT-22334 Specialized loops using range such as integer..array.size-1
...
- Into PrimitiveNumberRangeLiteralRangeValue modifies how bounded
value are created by checking if the high bound range can be modified
to be exclusive instead of inclusive such as the generated code will
be optimized.
- Add black box tests checking that the specialization does not fail
on any kind of arrays.
- Add a bytecode test checking that the code is correctly optimized.
Fix of https://youtrack.jetbrains.com/issue/KT-22334
2018-02-15 12:41:33 +03:00
Ilya Gorbunov
8c8caa4707
kotlin-test: change actual package name for test annotation typealiases
...
to avoid potential split package situation
2018-02-14 23:50:30 +03:00
Ilya Gorbunov
dfa6fc7d48
IDEA settings: add pattern for upsource review links
2018-02-14 19:29:41 +03:00
Vyacheslav Gerasimov
6959f6af75
Exclude lib subdirs from inlellij module
...
When lib/rt is added to test runtime some tests break
2018-02-14 18:42:10 +03:00
Sergey Igushkin
14e9930f94
Apply shading/relocation to the subplugin example
2018-02-14 17:43:05 +03:00
Alexey Tsvetkov
1dadf84c40
Check Java interop in Maven IC tests
2018-02-14 16:31:30 +03:00
Alexey Tsvetkov
07c94a5586
Check output in Maven IC tests
2018-02-14 16:31:30 +03:00
Alexey Tsvetkov
42c433f950
Avoid removing target/classes dir during IC in Maven
...
#KT-21581 fixed
2018-02-14 16:31:30 +03:00
Sergey Igushkin
fa3ca0cddb
Merge pull request #1517 from JetBrains/igushkin/gradle-it-readme
...
Update Readme.md for Gradle plugin IT
2018-02-14 16:28:04 +03:00
Sergey Igushkin
ad30e898c2
Create Readme.md
2018-02-14 16:27:11 +03:00
Sergey Igushkin
f9191ff210
Update ReadMe.md
2018-02-14 16:23:08 +03:00
Alexey Tsvetkov
67a5cab343
Fix IC test data
...
Test data was broken starting from 0954d1ab1b
2018-02-14 16:09:07 +03:00
Mikhail Glukhikh
3f500a1655
Add "expectedBy" to module descriptor and use it in checker
...
Now ExpectActualDeclarationChecker in IDE context
uses common module descriptors for relevant checks.
Compiler still uses own module instead (see comment in checker)
So #KT-21771 Fixed
2018-02-14 15:09:14 +03:00
Mikhail Glukhikh
78136fbb07
IDE facet refactoring, ModuleInfo.expectedBy introduced.
...
Part of facet classes was extracted to idea-analysis module
Related to KT-21771
2018-02-14 15:09:14 +03:00
Mikhail Zarechenskiy
694f5690f9
[NI] Improve diagnostic about unresolved receiver for many candidates
2018-02-14 14:58:05 +03:00
Mikhail Zarechenskiy
3afd4a2f4a
[NI] Record all diagnostics from subcalls resolution results
2018-02-14 14:58:04 +03:00
Mikhail Zarechenskiy
6a7a07bf9d
[NI] Don't forget to report about unresolved callable reference
2018-02-14 14:58:04 +03:00
Sergey Igushkin
a3aefac111
(minor) Fix testAndroidKaptChangingDependencies
2018-02-14 14:53:14 +03:00
Alexander Udalov
ecc441a642
Minor, remove obsolete JDK 6-related workaround
2018-02-14 12:50:16 +01:00
Alexander Udalov
60a551404a
Refine modality of fake overrides inherited from abstract expected members
...
In an open expected class inheriting an expected interface, abstract
members are now inherited as _open_ fake overrides, not final. Final was
technically safer but also stricter and thus could be unexpected by the
user. In a final class, abstract members are still inherited as _final_
fake overrides. So, the general rule is now the following: the modality
of an expected fake override, which overrides only abstract members, in
a non-abstract class is equal to the modality of that class
#KT-22031 Fixed
2018-02-14 12:45:45 +01:00
Sergey Igushkin
fe3ce1ec7c
(minor) Fix testKaptKt15814, slightly modify temp dir path.
2018-02-14 14:43:23 +03:00
Natalia Selezneva
50c0c5a747
Throw exception when it's not possible to run evaluate expression with compilation
2018-02-14 14:40:38 +03:00
Natalia Selezneva
19e7002d02
Evaluate Expression: fix ClassNotFoundException for primitives and arrays
2018-02-14 14:40:31 +03:00
Natalia Selezneva
2f61bd41d5
Fix comparision of java versions during class loading in evaluate expression.
...
Do not catch EvaluateException during class loading to show more useful error to user.
^KT-22830 Fixed
2018-02-14 14:40:24 +03:00
Sergey Igushkin
3214fb8611
Fix testAnnotationProcessorAsFqName
2018-02-14 14:28:42 +03:00
Nikolay Krasko
71043821da
Check idea with apiVersion instead of BUILD_NUMBER
...
BUILD_NUMBER is probably rewritten in tests from KotlinCoreEnvironment.
2018-02-14 13:27:10 +03:00
Nikolay Krasko
882913c773
Fix getting fields after introducing KotlinCommonCodeStyleSettings
2018-02-14 13:27:10 +03:00
Dmitry Savvinov
2f855a993e
Update changelog for 1.2.30
2018-02-14 13:24:17 +03:00
Vyacheslav Karpukhin
cbb75d0bcd
Use hardcoded plugin ID when loaded in the main classloader
2018-02-14 11:11:18 +01:00
Mikhail Glukhikh
d56902983e
Add forgotten generated tests
2018-02-14 13:03:30 +03:00
Mikaël Peltier
8ab7e5c406
KT-10057 Use lcmp instead of Intrinsics.compare
...
Fix of https://youtrack.jetbrains.com/issue/KT-10057
2018-02-14 09:46:29 +01:00
Denis Zharkov
c47c1c5ffd
Fix runtime CCE in case of out-projected SAM
...
Probably, when NI is there this fix will become unnecessary because
there will be no approximation applied, thus the value parameter
will remain Hello<#Captured> instead of Nothing
#KT-17171 Fixed
2018-02-14 10:29:14 +03:00
Mikhail Zarechenskiy
6baf937a52
Update test files with dumped declarations for NI
2018-02-13 19:50:25 +03:00
Sergey Igushkin
6eaee8b250
Require no specific version for ExecutionStrategyIT
2018-02-13 17:43:11 +03:00
Sergey Igushkin
c3946d98f2
Update Gradle test version to 4.5.1, fix kapt1 multiversion and IC tests
...
that were not correctly tweaked for kapt1
2018-02-13 17:43:11 +03:00
Sergey Igushkin
d0416bea03
Use Gradle 3.5 for kapt1 IT because of the separate classes dirs bug in
...
kapt1.
2018-02-13 17:43:11 +03:00
Sergey Igushkin
b5195d36bc
Use Gradle 3.4 for testCleanBuildLib because of classpath normalization
2018-02-13 17:43:11 +03:00
Sergey Igushkin
6e51ada36b
Override system-wide cache, simplify version checks,
2018-02-13 17:43:11 +03:00
Sergey Igushkin
99e731f6a6
Transform the new tests after rebase; Fix issues from KOTLIN-CR-1546
2018-02-13 17:43:10 +03:00
Sergey Igushkin
f9dc892c42
Do not stop Gradle daemons with the same version as that of the build.
2018-02-13 17:43:10 +03:00
Sergey Igushkin
a223870e7a
Exclude JPS tests from normal run. Log Gradle version when advancing it.
2018-02-13 17:43:10 +03:00