Denis Zharkov
632e336782
Prohibit unsafe covariant conversion for collections invariant in Java
2015-09-02 10:39:29 +03:00
Denis Zharkov
6dc08f76a6
Preserve type capabilities while substituting
...
`val result` in test data rendered descriptors should be rendered as having raw type
2015-09-02 10:38:43 +03:00
Denis Zharkov
3b80bf5bda
Make call to additional type checker if no error happened
2015-09-02 10:38:43 +03:00
Michael Bogdanov
4853e4f1cc
Module name parameter added to ant tasks
2015-09-02 09:29:38 +03:00
Stanislav Erokhin
d015f713cb
KT-6244 Overloads with no default parameters should take over ones with defaults
...
#KT-6244 Fixed
2015-09-01 23:37:43 +03:00
Stanislav Erokhin
5ded315cbb
Improved error reporting for candidates with wrong parameter count
2015-09-01 23:37:42 +03:00
Alexey Tsvetkov
8ea6f36903
Minor: move comment to the member it was written for
...
Accidentally moved comment when refactored GenerationState
2015-09-01 19:16:22 +03:00
Alexey Tsvetkov
7101f9a3a4
Move GenerationState member up to further simplify constructor usages
2015-09-01 19:05:38 +03:00
Alexey Tsvetkov
1d5b869bee
Clean up GenerationState initializer
2015-09-01 19:05:38 +03:00
Alexey Tsvetkov
ddd469bb88
Minor: change order of GenerationState members
2015-09-01 19:05:37 +03:00
Alexey Tsvetkov
0a11525dd5
Clean up GenerationState constructor usages
2015-09-01 19:05:37 +03:00
Alexey Tsvetkov
1e964c6302
Make "progress" parameter with last in GenerationState constructor
...
This parameter has a default value, so it's more convenient to have it
closer to the end of parameter list.
2015-09-01 19:05:37 +03:00
Alexey Tsvetkov
79f450e174
Remove GenerationState secondary constructor
2015-09-01 19:05:37 +03:00
Alexey Tsvetkov
04e5cbb5d3
Convert some GenerationState functions to values
2015-09-01 19:05:37 +03:00
Alexey Tsvetkov
6e0332d418
Move GenerationState properties' initialization to declaration
2015-09-01 19:05:37 +03:00
Alexey Tsvetkov
de23f7ace8
Move property declaration to constructor
2015-09-01 19:05:37 +03:00
Alexey Tsvetkov
340929233e
Remove unneeded brackets in GenerationState
2015-09-01 19:05:37 +03:00
Alexey Tsvetkov
1fcfbbca1b
Replace plus operator with string template
...
This fixes the conversion issue: there is no "JavaClass<T>.plus(s:
String)" overload.
2015-09-01 19:05:37 +03:00
Alexey Tsvetkov
224bf7fb43
Convert GenerationState: actual conversion
2015-09-01 19:05:36 +03:00
Alexey Tsvetkov
4476dd934c
Convert GenerationState: change extension
2015-09-01 19:05:36 +03:00
Michael Nedzelsky
e39dec19fa
regenerate tests
2015-09-01 19:00:56 +03:00
Zalim Bashorov
fcbf8b5a28
Fix marking some files as executable on mac and on linux
2015-09-01 17:38:30 +03:00
Zalim Bashorov
a12a7eb3f2
Minor: remove deprecated macrodefs from update_dependencies.xml
2015-09-01 17:38:30 +03:00
Dmitry Jemerov
4991aff086
validate FQ name when checking the Java mapping (EA-72095)
2015-09-01 15:02:32 +02:00
Nikolay Krasko
9054151546
Use storage manager to create lazy value
2015-09-01 15:55:47 +03:00
Nikolay Krasko
6c45d81b86
Revert "Use lazy to store split annotations, code simplification"
...
This reverts commit 0b24e56f5a .
2015-09-01 15:55:46 +03:00
Mikhail Glukhikh
754f8af3fc
Type<*> is inferred now if Type<A> and Type<B> common supertype is Type<X> and X is not within parameter upper bound. #KT-7585 Fixed. #EA-68943 Fixed.
...
It provides also a fix for KT-7585 (empty type intersection assertion).
A set of relevant tests, one fixed test
2015-09-01 15:49:29 +03:00
Alexander Udalov
c90bcb41f3
Refactor and fix buildDecompiledText#appendDescriptor
...
Make it clear that first we render all enum entries, then the companion if it
exists, then anything else. Previously the companion wasn't rendered in the
case when the scope did not contain anything else (which was the case for the
scope of a class not found in the decompiler)
2015-09-01 15:06:45 +03:00
Michael Nedzelsky
be2324031d
decompiled text: add test for inherited interface
2015-09-01 15:06:45 +03:00
Nikolay Krasko
add43407d3
Overridden methods with generic type shows no implementations found (KT-8723)
...
#KT-8723 Fixed
2015-09-01 12:45:12 +03:00
Nikolay Krasko
2af541cd4f
Refactor: splict logic to different methods
2015-09-01 12:45:11 +03:00
Nikolay Krasko
f2145fb9a5
Minor: drop usage of deprecated method
2015-09-01 12:45:11 +03:00
Alexander Udalov
f7a178f978
Report warning on 'Singleton.javaClass'
...
As a temporary measure before 'javaClass' property is deprecated and removed.
Getting the Java class of a singleton this way is confusing and most of the
time is a failed attempt to get the Java class of a class with a companion
object (e.g. 'Int.javaClass')
2015-09-01 11:36:57 +03:00
Alexander Udalov
3f1bf46756
Minor, add toString() for debug
2015-09-01 11:36:57 +03:00
Ilya Chernikov
427b27b367
Merge pull request #743 from JetBrains/rr/compile-service
...
Kotlin compile daemon
2015-09-01 09:15:13 +02:00
Nikolay Krasko
142ab96a5a
Run/Debug editor gutter drop down does not work in Kotlin files (KT-8720)
...
#KT-8720 Fixed
2015-08-31 21:38:46 +03:00
Nikolay Krasko
55456fdaf4
Minor: fix class-only local run
2015-08-31 21:38:45 +03:00
Nikolay Krasko
d6b7214a65
More psi-only checks for Kotlin main function
2015-08-31 21:38:44 +03:00
Ilya Chernikov
7c1c628823
Next round of refactoring after review
2015-08-31 19:10:28 +02:00
Ilya Chernikov
9bee97e810
Refactoring after review
2015-08-31 18:39:55 +02:00
Ilya Chernikov
2d45a37884
Passing JPS process JVM memory options to daemon, refactoring options processing
2015-08-31 18:39:54 +02:00
Ilya Chernikov
61de1c3212
Fixes after review
2015-08-31 18:39:54 +02:00
ligee
434c30c1bc
Simple test with daemon compilation, minor fixes mostly for easier testing
2015-08-31 18:39:53 +02:00
ligee
6e3ce69faa
Shutting down daemon from kotlin plugin on idea exit, passing jvm params to daemon launch
2015-08-31 18:39:53 +02:00
ligee
5fee180d09
Daemon log, controlling it from launching, proper stdout/err redirection technique, params to control jvm options of the daemon
2015-08-31 18:39:52 +02:00
ligee
39d6592e1f
Adding compiler id digest calculation and check to detect replaced compiler jar, minor fixes and refactorings
2015-08-31 18:39:51 +02:00
ligee
f08476cba9
Adding daemon stop command to kotlinr, minor fixes
2015-08-31 18:39:51 +02:00
ligee
d8be831339
Switching to stream for logging to simplify interaction with use sites
2015-08-31 18:39:50 +02:00
ligee
7ab2208fc5
implementing daemon startup, basic check and restart machanisms, switching to kotlin everythere, additional logging and checks, in JPS plugin daemon compilation is off by default, turned on by "kotlin.daemon.enabled" property
2015-08-31 18:39:50 +02:00
ligee
33cead12e0
working version of jps-plugin integration with daemon
2015-08-31 18:39:49 +02:00