Alexander Udalov
5b2ffd50d3
Use mock JDK instead of full in IDEA plugin tests
2015-04-02 21:57:51 +03:00
Alexander Udalov
72aa3d1465
Use mock JDK in compiler tests where full JDK is not needed
...
- move some of boxWithStdlib tests under fullJdk/ directory, where they will be
compiled against the full JDK
- introduce FULL_JDK in-text directive for the reflection test as only 4 tests
out of 654 needed the full JDK
2015-04-02 21:57:48 +03:00
Alexander Udalov
150e0a4ef2
Print runtime and reflection jar sizes for TeamCity statistics
2015-04-02 21:57:02 +03:00
Dmitry Jemerov
7b507276ed
frontend diagnostics for kotlin.jvm.overloads
...
#KT-7203 Fixed
2015-04-02 20:30:36 +02:00
Dmitry Jemerov
39828bfd32
Implement kotlin.jvm.overloads annotation for generating all overloads of a method that has default parameter values.
...
#KT-2095 Fixed
fix backend-side issues with kotlin.jvm.overloads: support the annotation on constructors, generate nullablity annotations on parameters, generate generic signatures, add various tests
2015-04-02 20:30:26 +02:00
Dmitry Jemerov
e15b984232
Implement kotlin.jvm.overloads annotation for generating all overloads of a method that has default parameter values.
...
#KT-2095 Fixed
2015-04-02 20:30:01 +02:00
Dmitry Jemerov
c1c9d3b090
extract code for generating parameterless constructor into a separate class and rewrite it in Kotlin
2015-04-02 20:30:00 +02:00
Valentin Kipyatkov
d78573059e
Fixed import insertion on paste broken sometime ago
2015-04-02 21:10:54 +03:00
Ilya Ryzhenkov
1fc1c025e9
Fix EA-67177: exception when analysing unfinished assignment expression without RHS.
2015-04-02 18:59:57 +03:00
Pavel V. Talanov
cb7617b3ca
Refactor CompilerConfiguration: keys -> Content roots
...
Represent classpath roots and java source roots as separate entities
2015-04-02 16:13:06 +03:00
Valentin Kipyatkov
4e283fd62f
Added a test
2015-04-02 10:17:01 +03:00
Valentin Kipyatkov
1df39ab82b
Fixed code after rebase to SmartCastUtils requiring containingDeclaration
2015-04-02 10:17:01 +03:00
Valentin Kipyatkov
784b4a8aeb
Minor code changes after code review
2015-04-02 10:17:00 +03:00
Valentin Kipyatkov
b45b462bdf
Not imported extension functions are always listed in code completion
2015-04-02 10:17:00 +03:00
Valentin Kipyatkov
c54541b269
Functions returning Nothing are indexed even when alias import is used
2015-04-02 10:16:59 +03:00
Valentin Kipyatkov
1789907740
No hardcoded nothing callables needed anymore
2015-04-02 10:16:59 +03:00
Valentin Kipyatkov
6a2cc66eb1
Got rid of isProbablyNothing in stubs + fixed exception on some files on indexing stubs
2015-04-02 10:10:31 +03:00
Valentin Kipyatkov
0243280668
Extension callables index is built correctly when using alias imports
2015-04-02 10:09:26 +03:00
Valentin Kipyatkov
bff2b2f378
Fixed tests for stubs
2015-04-02 10:09:25 +03:00
Valentin Kipyatkov
5ba5618718
Extension callables index and its use in completion
2015-04-02 10:09:25 +03:00
Valentin Kipyatkov
546af84435
Renames
2015-04-02 10:09:25 +03:00
Valentin Kipyatkov
f92bc39323
Minor code improvements
2015-04-02 10:09:25 +03:00
Valentin Kipyatkov
4b383f35b4
Use of Sequence instead of Stream
2015-04-02 10:09:25 +03:00
Alexander Udalov
0b252505d9
Minor, add clarifying comment & inline useless property
2015-04-02 03:22:58 +03:00
Alexander Udalov
57be11a7e6
Minor, move common logic to ReflectJavaModifierListOwner
2015-04-02 03:22:22 +03:00
Alexander Udalov
4cea9ecca4
Minor, add reflection test on inherited Java property
2015-04-02 03:22:12 +03:00
Alexander Udalov
7fda4ef438
Don't show local/anonymous classes in libraries in Project view
2015-04-02 03:22:04 +03:00
Evgeny Gerashchenko
0d4d719156
Minor. Reverted optimized imports in generated test.
2015-04-02 02:28:49 +03:00
Valentin Kipyatkov
fea57ecd2c
Fixed incorrect PARTIAL resolve inside code fragments
2015-04-01 23:21:24 +03:00
Valentin Kipyatkov
c99f3fd106
Refactoring code to be more Kotlin
2015-04-01 23:21:24 +03:00
Valentin Kipyatkov
3ff13ccf5d
Converting ElementResolver to Kotlin (step 2)
2015-04-01 23:21:23 +03:00
Valentin Kipyatkov
2637bf608a
Converting ElementResolver to Kotlin (step 1)
2015-04-01 23:21:23 +03:00
Valentin Kipyatkov
f7a147f236
PsiReference.resolve() uses partial body resolve
2015-04-01 23:21:23 +03:00
Valentin Kipyatkov
6dc943a739
JetReference.resolveToDescriptors() requires BindingContext
2015-04-01 23:21:23 +03:00
Valentin Kipyatkov
04a6ebf0d6
Dropped JetReference.resolveMap()
2015-04-01 23:21:23 +03:00
Valentin Kipyatkov
67de85aed1
More usages of partial body resolve
2015-04-01 23:21:23 +03:00
Valentin Kipyatkov
4d2a34cc4e
"Surround with" uses partial body resolve
2015-04-01 23:21:22 +03:00
Valentin Kipyatkov
ff6853f300
Added BodyResolveMode parameter to JetElement.analyze()
2015-04-01 23:21:22 +03:00
Valentin Kipyatkov
a8bb0162f8
Minor code improvements
2015-04-01 23:21:22 +03:00
Valentin Kipyatkov
cd18b16407
Partial body resolve: fixed for ! and parenthesis in conditions
2015-04-01 23:21:22 +03:00
Valentin Kipyatkov
698d839eee
Added a test
2015-04-01 23:21:22 +03:00
Valentin Kipyatkov
f3799a0ce7
Partial body resolve correctly handles elvis operator
2015-04-01 23:21:22 +03:00
Valentin Kipyatkov
176ba937ba
Partial body resolve filter works more precisely for if-statements
2015-04-01 23:21:21 +03:00
Valentin Kipyatkov
7a414336c1
Do not run partial body resolve if full body resolve already cached
2015-04-01 23:21:21 +03:00
Ilya Gorbunov
6aad2b2d65
Add dependency of kotlin-js-tests to kotlin-js-tests-junit.
2015-04-01 23:10:15 +03:00
Ilya Gorbunov
cac058d5a3
Fix endsWith in JS always ignored character case, regardless of the ignoreCase parameter value.
...
startsWith, endsWith again use native implementation when possible.
2015-04-01 23:10:14 +03:00
Ilya Gorbunov
315badd5d1
Restore native js functions: startsWith, endsWith, contains.
...
startsWith and endsWith implementation taken from MDN.
2015-04-01 23:05:52 +03:00
Ilya Gorbunov
0717705f15
Add requireNotNull with lazy message.
2015-04-01 22:28:47 +03:00
Ilya Ryzhenkov
2f02024c24
checkLValue for array indexing expression should resolve set method #KT-7218 Fixed
2015-04-01 21:02:05 +03:00
Pavel V. Talanov
a986d913c3
Remove traces of class object constraints feature from parser, frontend, tests and psi
2015-04-01 20:09:34 +03:00