Vyacheslav Gerasimov
0e879896e0
Add include/kotlin-compiler project
...
Needed to include kotlin compiler project into a composite build (kotlin native + cotlin compiler)
2018-03-13 18:29:24 +03:00
Vyacheslav Gerasimov
361e8e065c
Remove unused xpp3 & xstream from IntellijCoreDependencies
...
They are 'fatjared' into kotlin-compiler but proguard removes them from resulting jar afterwards
2018-03-13 17:50:15 +03:00
Nikolay Krasko
7174b31756
Fix GradleConfiguratorTest.kt compilation
2018-03-13 17:42:40 +03:00
Nikolay Krasko
48f2fd8607
Add explicit set of supported file types to KotlinPositionManager
2018-03-13 15:52:21 +03:00
Nikolay Krasko
674fbc9871
Process dependencyManagement during stdlib-jre* deprecation check (KT-21745, KT-23161)
...
#KT-23161 Fixed
#KT-21745 Fixed
2018-03-13 15:52:20 +03:00
Nikolay Krasko
57aaf0444f
Add support for "implementation" gradle directive (KT-21746)
...
#KT-21746 Fixed
2018-03-13 15:52:19 +03:00
Nikolay Krasko
9004cdfa45
Reformat: idea-gradle module
2018-03-13 15:52:18 +03:00
Denis Zharkov
cff88a3f8b
Fix false positive unreachable code in case of Nothing!-typed calls
...
Note, that this change potentially has some other effects in corner cases
(like the changed test data that is rather sensible because `bar`
in the example is not effectively projected out and can be called
with nulls)
Probably, we need to consider rewriting all other isSomeType methods
in KotlinBuiltins, but now it seems to be a rather dangerous change
#KT-16424 Fixed
2018-03-13 14:40:05 +03:00
Denis Zharkov
a7854bc0ce
Fix SAM detection algorithm for case of default overrides
...
#KT-22652 Fixed
2018-03-13 14:39:35 +03:00
Dmitry Jemerov
b4fb0e0305
Further reduce number of calls to getConfigurableModulesWithKotlinFiles
...
Also handle INRE and requeue check
2018-03-13 12:29:16 +01:00
Dmitry Jemerov
a29d693dc5
Fix inverted logic of isNotConfiguredNotificationRequired
2018-03-13 12:29:16 +01:00
Dmitry Jemerov
fa39cec94b
Avoid duplicate scan of modules with Kotlin files (KT-23183)
2018-03-13 12:29:16 +01:00
Alexey Sedunov
1be33b91fa
MPP: Do not report ACTUAL_WITHOUT_EXPECT if compatibility is null for all modules
...
This fixes diagnostic tests
2018-03-13 14:18:36 +03:00
Sergey Igushkin
c0a17f72a7
Fix bad property name introduced in the fix for #KT-23085
2018-03-13 14:17:12 +03:00
Simon Ogorodnik
48fb3db7ba
Fix inserting variable name suggestion on non-enter char typing
...
#KT-21933 fixed
2018-03-13 12:51:29 +03:00
Mikhail Glukhikh
d5d9aa0329
GotoSuperActionHandler: minor refactoring
2018-03-13 10:58:24 +03:00
Mikhail Glukhikh
ab30275f14
Navigation: add expect declarations as supers #KT-16892 Fixed
2018-03-13 10:40:54 +03:00
Mikhail Glukhikh
849f9fc5c1
Navigation: add actual declarations as implementations (KT-16892)
2018-03-13 10:40:52 +03:00
Ilya Gorbunov
3530d9b4c7
Download org.jetbrains:markdown:0.1.25 from bintray
2018-03-13 09:50:10 +03:00
Svyatoslav Scherbina
d3ab86db48
Fix access to scoped symbol table when inserting implicit casts to IR
2018-03-13 09:46:32 +03:00
Dmitry Petrov
d38258d7a0
Use specified comparison generator for chars in optimized ranges
...
Otherwise if Char value is a result of some erased generic call,
coercing it to I (primitive int) causes CCE at run-time.
#KT-23104 Fixed Target versions 1.2.40
2018-03-13 09:34:10 +03:00
Ilya Gorbunov
2891a6c954
Do not use java.home system property to locate JDK dependencies
...
It may point either to JDK/bin or to JRE/bin. Instead use JDK_16 and JDK_18 paths.
2018-03-13 08:52:15 +03:00
Ilya Gorbunov
6955cabbba
Improve KPropertyN documentation
...
Provide missing documentation for Getter and Setter of KProperty1/2.
Fix the link to the 'getExtensionDelegate' extension.
2018-03-12 23:17:38 +03:00
Sergey Igushkin
07b811460a
Deal with unnamed Gradle inputs/outputs
...
Fix the only unnamed input added to a Gradle task at runtime.
Add a test that checks for unnamed task inputs.
Issue #KT-23085 Fixed
2018-03-12 21:54:03 +03:00
Alexey Tsvetkov
97700316f5
Replace compileOnly with testCompileOnly in :generators
...
In Gradle testCompileOnly configuration does not extend compileOnly.
Since :generators project does not have main source set,
compileOnly dependencies have never worked.
Instead "kotlin-reflect" was resolved transitevely trough
:compiler:frontend.script module (a runtime dependency becomes
a compile transitive dependency).
In ccd6263787 I replaced `runtime` dependency
on "kotlin-reflect" with `runtimeOnly` breaking `:generators:compileTestKotlin`.
2018-03-12 20:07:31 +03:00
Sergey Igushkin
32df9c00ee
Update literals in the grammar reference
...
Add missing long literal suffix
Add binary integer literals
Introduce IntegerLiteral lexer rule, which is closer to the actual lexer
Issue #KT-22713 Fixed
2018-03-12 18:02:22 +03:00
Sergey Igushkin
41044cd277
Fix the rule for valueArguments
2018-03-12 18:02:08 +03:00
Alexey Belkov
4b5b9b40e7
Grammar: Fix "object" rule (KT-22676)
2018-03-12 18:02:08 +03:00
Alexey Belkov
d98c454806
Grammar: Fix "LabelName" rule (KT-22676)
2018-03-12 18:02:08 +03:00
Alexey Belkov
4ffd4f8060
Grammar: Fix "labelDefinition" rule in precedence table (KT-22676)
2018-03-12 18:02:08 +03:00
Alexey Belkov
2b9f26a0da
Grammar: Fix "functionType" rule (KT-22676)
2018-03-12 18:02:08 +03:00
Alexey Belkov
d0f3001fd5
Grammar: Fix "optionalProjection" rule (KT-22676)
2018-03-12 18:02:08 +03:00
Alexey Belkov
d6496814b2
Grammar: Fix "enumEntry" rule (KT-22676)
2018-03-12 18:02:08 +03:00
Alexey Belkov
8f88bc0a3c
Grammar: Fix broken link (KT-22676)
2018-03-12 18:02:08 +03:00
Alexey Belkov
3cb952df5d
Grammar: Add terminating semicolons (KT-22676)
2018-03-12 18:02:08 +03:00
Alexey Belkov
6fa87f98ca
Grammar: Improve wording (KT-22676)
2018-03-12 18:02:08 +03:00
Alexey Belkov
c0866e7ba2
Grammar: Fix rule headings in section "Lexical structure" (KT-22676)
2018-03-12 18:02:08 +03:00
Alexey Tsvetkov
e8f8488d54
Add diagnostic task to print all shadow jars in compile classpaths
2018-03-12 17:31:11 +03:00
Alexey Tsvetkov
ccd6263787
Use runtimeOnly dependency in kotlin-reflect
...
"kotlin-reflect" is a shadow jar which breaks incremental compilation
to avoid non-incremental builds, project should add
* `compileOnly` dependency on ":kotlin-reflect-api"
* `runtimeOnly` dependency on ":kotlin-reflect"
* `runtime` dependency is not recommended because it leaks into compile
* classpath
through transitive dependencies
2018-03-12 16:09:04 +03:00
Pavel V. Talanov
dc27a3f6d0
Minor: lightClassUtils, less specific return type
2018-03-12 12:05:08 +01:00
Pavel V. Talanov
32516a3f33
Refactor: split *LightClassGenerationSupport into separate files
...
Move cli binding trace implementation to top level
2018-03-12 12:05:05 +01:00
Pavel V. Talanov
f421181e16
Split LightClassGenerationSupport into separate entities
...
LightClassGenerationSupport:
Includes utilities related to generating light classes
Primary client of this service are KtLight* implementation classes
KotlinAsJavaSupport:
Provides APIs to transform kotlin code into Psi* entities
Primary client of this service is JavaElementFinder
2018-03-12 12:04:59 +01:00
Ilya Gorbunov
62d409a9ba
Use dex-method-list:3.0 from maven central
...
Update changed API usages and reformat code according to code style.
2018-03-09 19:39:42 +03:00
Mikhael Bogdanov
95a7e6c2d5
Minor.Reformat
2018-03-08 11:50:09 +01:00
Mikhael Bogdanov
c1c8660e55
Don't try to transform sam wrappers in same module
...
#KT-22304 Fixed
2018-03-08 11:50:08 +01:00
Mikhail Glukhikh
2a6f1d7731
Regenerate tests
2018-03-07 19:24:56 +03:00
Mikhail Glukhikh
cc5821382c
Compilation fix
2018-03-07 19:15:17 +03:00
Mikhail Glukhikh
71a6827b1c
MPP wizard step refactoring: use UI layout DSL
2018-03-07 19:07:56 +03:00
Mikhail Glukhikh
ea4b04780c
MPP wizard fix: remove non-existing modules from settings.gradle
2018-03-07 19:07:56 +03:00
Mikhail Glukhikh
1d0c5413de
MPP wizard: add combobox selecting common module position + extra checks
...
So #KT-23097 Fixed
2018-03-07 19:07:55 +03:00