Dmitry Petrov
48b0259d9b
Report error on non-top-level type aliases (unsupported in 1.1).
...
Get rid of nested type aliases in project.
Original commit: 4c47d77a9f
2016-11-21 10:25:51 +03:00
Alexey Tsvetkov
7ed13b9ecd
Minor: add Throws(Exception) to avoid override issues in java
...
Original commit: 18d50b930d
2016-11-18 23:17:34 +03:00
Alexey Tsvetkov
765f02f9ac
Ensure jps caches are always cleared in tests
...
Original commit: ea93ec3eec
2016-11-18 23:17:30 +03:00
Alexander Udalov
1521275a5d
Rename JVMPlatform and JSPlatform and make them nested in TargetPlatformKind
...
To avoid confusion with JvmPlatform and JsPlatform from frontend.java and
js.frontend respectively
Original commit: 26a6ce9a31
2016-11-11 19:00:12 +03:00
Alexander Udalov
036f5ae0e0
Minor, rename targetPlatformKindKind -> targetPlatformKind
...
Original commit: d0f31a2bc2
2016-11-11 19:00:11 +03:00
Zalim Bashorov
77149c97f1
Regenerate tests
...
Original commit: 1dedb38481
2016-11-09 21:41:12 +03:00
Alexey Sedunov
77404d1501
Kotlin Facet: Use facet configuration to provide language version for IDE analyzer
...
Original commit: 30d08c989d
2016-11-07 20:03:30 +03:00
Alexey Sedunov
f3b8b19325
Kotlin Facet: Use facet configuration in JPS build
...
Original commit: 6dd950cd5a
2016-11-07 20:03:29 +03:00
Alexey Sedunov
e7aebcc451
Kotlin Facet: Get rid of copy constructors for compiler arguments/settings and use reflection-based copying instead
...
Original commit: d0de9dd43c
2016-11-07 20:03:29 +03:00
Alexey Sedunov
947a39f576
Kotlin Facet: Reuse JvmTarget and LanguageVersion in facet configuration
...
Original commit: a2948a624f
2016-11-07 20:03:28 +03:00
Alexey Sedunov
a95fff6dec
Convert to Kotlin: Compiler arguments/settings JPS serializers
...
Original commit: b6de7d3503
2016-11-07 20:03:27 +03:00
Alexey Sedunov
9bc4742202
Convert to Kotlin: Compiler arguments/settings JPS serializers (rename to .kt)
...
Original commit: 9e4fcf9731
2016-11-07 20:03:26 +03:00
Alexey Sedunov
dd56ae957d
Convert to Kotlin: JpsKotlinCompilerSettings.java
...
Original commit: b88573e6a8
2016-11-07 20:03:25 +03:00
Alexey Sedunov
140071e3d1
Convert to Kotlin: JpsKotlinCompilerSettings.java (rename to .kt)
...
Original commit: 7cb2f04d24
2016-11-07 20:03:24 +03:00
Alexey Sedunov
5c65266354
Refactoring: Move facet configuration classes to idea-jps-common module
...
Original commit: a6dbdbd3e5
2016-11-07 20:03:23 +03:00
Alexey Tsvetkov
9185cd4537
Gradle IC: treat companion object change as class signature change
...
Original commit: fc1af746c6
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
56a067cb1c
Gradle IC: fix converting class to package facade
...
Original commit: f01a956a8b
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
c86d06ae4f
Gradle IC: support multifile classes
...
Original commit: 151cf7d073
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
45ea680ec8
Groundwork for using IC without Gradle
...
Original commit: 7c16d086aa
2016-10-28 17:58:10 +03:00
Alexey Tsvetkov
9ebc6a18a1
Refactoring: introduce IncReporter to report IC progress
...
Original commit: fafde1e948
2016-10-28 17:58:10 +03:00
Alexander Udalov
618b484874
Add mock runtime to KotlinJpsBuildTest test cases
...
To prevent test failures once the JVM compiler stops loading definitions of
built-in declarations from itself and starts to rely on their presence in the
library, that the compiled source code depends on
Original commit: 0b59c71340
2016-10-26 16:31:07 +03:00
Alexey Sedunov
d0aabc9936
Kotlin Facet: Add compiler settings to facet configuration
...
Original commit: ea13456bba
2016-10-26 15:03:42 +03:00
Alexander Udalov
40e9bfffe6
Import classes from kotlin.coroutines by default, add to default imports in JS
...
Original commit: 6b6ddf5f75
2016-10-24 15:30:38 +03:00
Alexander Udalov
49750cee02
Extract platform-independent default imports to TargetPlatform.Default.defaultImports
...
This is needed because SourceNavigationHelper uses default platform and it
needs default imports to be able to resolve references (otherwise
NavigateToLibrarySourceTestGenerated breaks)
Original commit: 56e2173b3c
2016-10-21 17:10:39 +03:00
Alexander Udalov
be828cd3cf
Fix incremental recompilation of JvmMultifileClass with top level function
...
See 7a679eb and previous changes where this behavior was broken (this was
untested, however). Fixes EA-90065
Original commit: 7b2a80ffa4
2016-10-19 12:50:10 +03:00
Michael Bogdanov
1b59000669
Test data fix
...
Original commit: c5e8139236
2016-10-18 15:26:24 +03:00
Michael Bogdanov
c5d50ce6d7
Fix for KT-14012: Back-end (JVM) Internal error every first compilation after the source code change
...
#KT-14012 Fixed
Original commit: d48ef2efc7
2016-10-18 10:46:51 +03:00
Ilya Chernikov
d3e4da3719
Add remote input stream support, plus minor tweaks
...
Original commit: 042fc4fadc
2016-10-12 15:37:49 +02:00
Dmitry Petrov
d324df7f20
KT-13961 REDECLARATION not reported on private-in-file 'foo' vs public 'foo' in different file
...
Private-in-file declarations conflict with public overload-equivalent declarations
in other files in the same package.
Move functions for grouping possible redeclarations to OverloadResolver
(since they are used only there).
Refactor redeclarations / conflicting overloads reporting.
Original commit: 06101dba52
2016-10-03 11:50:29 +03:00
Zalim Bashorov
8e0160b876
JPS: don't consider that the module is not Kotlin JS until check all libraries.
...
#KT-14082 Fixed
Original commit: 797f7ab28e
2016-09-29 14:52:51 +03:00
Alexander Udalov
866ea672d7
Allow data classes to implement equals/hashCode/toString from base classes
...
#KT-11306 Fixed
Original commit: fea116f14e
2016-09-15 16:45:48 +03:00
Alexey Tsvetkov
8c9bb043a2
Remove source annotations when copy class with kapt2
...
Writing source annotations enables incremental compilation for kapt2.
However they are not needed in bytecode, so we remove them when
copying classes.
# Conflicts:
# compiler/cli/src/org/jetbrains/kotlin/cli/jvm/K2JVMCompiler.kt
# compiler/frontend.java/src/org/jetbrains/kotlin/config/JVMConfigurationKeys.java
Original commit: 6ebb50751c
2016-09-14 13:52:56 +03:00
Yan Zhulanow
291bc0c42c
Kapt: Provide SourceRetentionAnnotationHandler for incremental compilation.
...
Collect annotations with the "SOURCE" retention.
(cherry picked from commit 6ef66e7)
Original commit: 975364b2ed
2016-09-10 17:36:15 +03:00
Nikolay Krasko
3ad7521a54
Drop kotlin-bare-plugin (KT-11859)
...
Original commit: 9a54aa99fa
2016-09-02 13:41:24 +03:00
Stanislav Erokhin
df295ddfc4
Set reference target and report custom error instead unresolved reference for cases: interface, generic parameter, object + invoke, class without companion.
...
#KT-2787 Fixed.
Original commit: bebc75c8ef
2016-09-01 18:01:55 +03:00
Yan Zhulanow
cd09fdd2be
Kapt: Analyze sources again if the received analysis result is 'RetryWithAdditionalJavaRoots'. ->
...
Add additional Java roots to Java source roots and clear diagnostic messages before the next analysis round.
(cherry picked from commit 17ad807)
Original commit: 84d62f37eb
2016-08-29 16:31:16 +03:00
Ilya Chernikov
57224b81e6
Add settings to compiler to specify templates to load, add templates provider using the settings
...
Original commit: ce6966b486
2016-08-11 09:08:40 +02:00
Alexander Udalov
904ee98969
CLI, Ant: add kotlin-reflect.jar to classpath by default, support "-no-reflect"
...
Note that now "-no-stdlib" implies "-no-reflect".
#KT-13237 Fixed
Original commit: 0d26087040
2016-08-09 11:24:24 +03:00
Alexander Udalov
c22ccf58c0
Remove quotes around visibility in invisible member diagnostic
...
Original commit: 83000c50ff
2016-07-22 18:13:41 +03:00
Alexander Udalov
b3a54cff83
Improve error message for inaccessible invisible_fake members
...
#KT-8989 Fixed
Original commit: b6b2303aa7
2016-07-22 18:13:40 +03:00
Dmitry Jemerov
39740c3411
delete work dir after each JPS test
...
Original commit: b315a07f0d
2016-07-18 16:52:16 +02:00
Alexander Udalov
b6b3454e26
Do not consider fake variables for objects in :: resolution
...
The main change is in
NewResolutionOldInference.ResolutionKind.CallableReference, where
createVariableProcessor creates a processor which no longer lists objects
#KT-12322 Fixed
Original commit: b44f060ffa
2016-07-04 15:42:35 +03:00
Michael Bogdanov
d525cd1581
Fix for KT-11964: No TABLESWITCH in when on enum bytecode if enum constant is imported
...
#KT-11964 Fixed
Original commit: 3b419e8ba3
2016-06-29 09:32:45 +03:00
Denis Zharkov
993493dcc4
Support type aliases in incremental compilation
...
#KT-12871 Fixed
Original commit: efe718602a
2016-06-28 16:22:08 +03:00
Alexey Andreev
fc54e12f27
KT-3008 Fix CLI and JPS tests related to JS translator
...
Original commit: a9ed789727
2016-06-27 15:33:28 +03:00
Mikhael Bogdanov
babb4ddf87
Inline properties support in incremental compilation
...
Original commit: a090133581
2016-06-24 17:05:53 +03:00
Zalim Bashorov
7e1baf1a69
JPS: don't consider that production target of module "B" is depends on test target of module "A" when "B" depends on "A"
...
#KT-12595 Fixed
Original commit: 0e428ca10c
2016-06-15 15:01:32 +03:00
Denis Zharkov
f5b81b7935
Preserve sources properly for coroutine parts
...
Otherwise incremental reporting leads to exception when inlining into coroutine body happens
Original commit: 07592398c1
2016-06-08 18:53:16 +03:00
Denis Zharkov
720c679184
Introduce coroutine-related API into built-ins
...
Original commit: e97376bb2c
2016-06-08 18:53:16 +03:00
Alexander Udalov
cfb2a41ad2
Add MessageCollector#hasErrors, get rid of MessageSeverityCollector
...
Also fix duplicated wrapping of a message collector into a message severity
collector (in CLICompiler and in the beginning of doExecute in
K2JVMCompiler/K2JSCompiler)
Original commit: 3c81bb4bfc
2016-05-26 11:47:30 +03:00