Alexander Udalov
22bfc9786a
Add WITH_RUNTIME or WITH_REFLECT to boxWithStdlib testData
2016-03-09 10:25:38 +03:00
Alexander Udalov
2564a2f91f
Do not include kotlin-reflect at runtime by default in codegen tests
...
Change some tests to either include reflection or to avoid using it
2016-03-09 10:25:38 +03:00
Alexander Udalov
20e36438e2
Move some tests from boxWithStdlib/ to box/
...
Move those tests which do not require neither stdlib nor reflect
2016-03-09 10:25:38 +03:00
Alexander Udalov
54a615fcd3
Support inlining 'arrayOf' and 'emptyArray' with no stdlib in classpath
...
Previously an exception was thrown on trying to inline arrayOf/emptyArray when
compiling with "-no-stdlib" (or in tests without a dependency on the stdlib),
because these functions were found in a built-in package fragment which does
not have the bytecode associated with it
2016-03-09 10:25:38 +03:00
Dmitry Jemerov
bb4397612d
fix tests: add inspection description
2016-03-08 19:04:23 +01:00
Dmitry Jemerov
649517be3a
disable inspection by default
2016-03-08 17:43:25 +01:00
Manas Chaudhari
f54f56d86b
Add quickfix for adding documentation
2016-03-08 17:43:16 +01:00
Manas Chaudhari
88fcad02a9
Implement Missing Documentation Inspection
...
#KT-1494 Fixed
2016-03-08 17:41:18 +01:00
Dmitry Jemerov
3626e90788
use Kotlin icon for Gradle framework support provider
2016-03-08 17:20:39 +01:00
Dmitry Jemerov
bfbd76cc14
KotlinIconProvider: J2K and cleanup
2016-03-08 17:20:36 +01:00
Dmitry Jemerov
26ebc075f4
KotlinIconProvider: rename to .kt
2016-03-08 17:20:32 +01:00
Dmitry Jemerov
ad48ff6a9e
use regular Kotlin icon to represent Kotlin run configurations, leave old LAUNCH icon only for REPL
...
#KT-11041 Fixed
2016-03-08 17:20:30 +01:00
Dmitry Jemerov
94fc58885a
use 16x16 icons for framework types and library presentations
2016-03-08 17:20:28 +01:00
Denis Zharkov
68f411395a
Fix bridge generation for special builtin override
...
Use method itself signature as common bridge delegate
#KT-11285 Fixed
2016-03-07 09:26:02 +03:00
Stanislav Erokhin
11f05005f6
Minor. Update run configuration Update-Dist-Run.
2016-03-07 06:14:21 +03:00
Ilya Gorbunov
9233d5a825
Minor: do not throw error immediately, return error message to 'require' who shall throw an IllegalArgumentException by itself.
2016-03-04 20:28:07 +03:00
Nikolay Krasko
79c00e14ca
Restore structure of sources roots
2016-03-04 19:11:19 +03:00
Nikolay Krasko
2e7ac5e4bf
Comment target to make changes more noticeable
2016-03-04 19:11:18 +03:00
Nikolay Krasko
ea340f2392
Do not depend on MOVE_SEARCH_FOR_REFERENCES_FOR_FILE global setting
...
Always search for references if something is under source root and disable search otherwise.
#KT-11277 Fixed
2016-03-04 19:10:59 +03:00
Nikolay Krasko
8397a4cb5b
Don't intercept move when there're no kotlin files
...
#KT-11277 Fixed
2016-03-04 19:10:05 +03:00
Mikhail Glukhikh
f9034fccb4
Changelog file
2016-03-04 17:09:46 +03:00
Pavel V. Talanov
1affb05b7b
Fix typechecker in case of "for ((a, b) in) { }"
...
Fixes NDFDE
2016-03-04 16:52:34 +03:00
Pavel V. Talanov
363d545bd5
Parameters of function types are always considered local
2016-03-04 16:52:33 +03:00
Pavel V. Talanov
e121ef0fdc
Add additional check to AbstractPsiCheckerTest
...
Check that KtDeclaration.resolveToDescriptor() utility does not throw
2016-03-04 16:52:32 +03:00
Pavel V. Talanov
37500e2cd5
Throw ISE earlier on passing certain types of declaration to ResolveSession#resolveToDescriptor()
2016-03-04 16:52:31 +03:00
Valentin Kipyatkov
5757a306aa
Should fix EA-75417
2016-03-04 16:30:25 +03:00
Valentin Kipyatkov
7ba39bd8cf
J2K: refactoring - AccessorBodyToExpression processing can be expressed as intention-based
2016-03-04 16:30:25 +03:00
Valentin Kipyatkov
05dc4c1c48
ResolutionFacade for synthetic files should be invalidated on changes in these synthetic files
...
Fixed EA-77017
2016-03-04 16:30:24 +03:00
Nikolay Krasko
28e85517eb
Update project icon
2016-03-04 15:32:44 +03:00
Nikolay Krasko
bee13cd246
Update to IDEA 15.0.4 (143.2287.1)
2016-03-04 15:32:42 +03:00
Alexey Tsvetkov
a3893a3c2e
Test IC for adding private inline function
...
#KT-9681 fixed
2016-03-04 15:11:27 +03:00
Alexey Tsvetkov
9523a8b88d
Add missing enum entry added/removed tests
...
#KT-6200 fixed
2016-03-04 14:43:52 +03:00
Dmitry Petrov
3bbd8979e4
KT-9670: optimize Class <-> KClass wrapping/unwrapping as a special case of boxing/unboxing.
...
NB doesn't work for arrays of classes.
2016-03-04 10:14:21 +03:00
Dmitry Petrov
2ecb8896cc
Converting optimization.boxing to Kotlin: convert & simplify
2016-03-04 10:14:21 +03:00
Dmitry Petrov
0555464a3b
Converting optimization.boxing to Kotlin: rename files
2016-03-04 10:14:21 +03:00
Dmitry Petrov
8660800af7
Constraint system builder shouldn't drop nullability when comparing signatures for specificity.
2016-03-03 19:23:43 +03:00
Dmitry Petrov
8a2b80fe3f
Generalize signature comparison: checking for conflicting overloads.
...
Also, vararg parameter no longer conflicts with Array<out T>
(CONFLICTING_JVM_DECLARATIONS is reported, can be avoided using @JvmName).
2016-03-03 18:26:10 +03:00
Dmitry Petrov
4ac05f1cd8
Generalize signature comparison: callable references overloading conflict resolution.
2016-03-03 18:26:10 +03:00
Dmitry Petrov
c5f3cbc645
Generalize signature comparison: make it work for regular call overloading conflict resolution.
2016-03-03 18:26:10 +03:00
Dmitry Petrov
022162322d
Introduce "flat signature" - a generalized abstraction for a (call) signatures that can be compared for specificity.
2016-03-03 18:26:10 +03:00
Dmitry Petrov
77b7128689
Check conflicting overloads for generic signatures.
2016-03-03 18:26:09 +03:00
Nikolay Krasko
ab962d9bae
New project wizard with Gradle and Kotlin creates build.gradle with absent version (KT-11213)
...
#KT-11213 Fixed
2016-03-03 17:19:21 +03:00
Nikolay Krasko
b8ac6e27f5
Cache and postpone requests for plugin update status from UnsupportedAbiVersion notification
2016-03-03 17:19:21 +03:00
Nikolay Krasko
33b65ec692
Refactoring: remove updateHighlightingResult() method as all usages called it with false
2016-03-03 17:19:21 +03:00
Nikolay Krasko
d09139e53a
Minor: add private modifiers
2016-03-03 17:19:21 +03:00
Nikolay Krasko
7e39c2321a
Show the hint how to resolve incompatible ABI library problem (KT-11024)
2016-03-03 17:19:21 +03:00
Alexander Udalov
04eea69a82
Fix Java 8 codegen box tests
2016-03-03 17:08:47 +03:00
Alexey Tsvetkov
4aa171c1b3
Minor: wait for gradle daemon to stop in tests
...
KT-8487
2016-03-03 16:45:20 +03:00
Alexey Tsvetkov
2140c270d7
Minor: replace warning with an assert
...
KT-8487
2016-03-03 16:45:20 +03:00
Alexey Tsvetkov
6ab868ae33
Print file paths relative to project root in gradle incremental compilation logs
...
KT-8487
2016-03-03 16:45:20 +03:00