Michael Bogdanov
df2900c4e4
Introduced ParameterDescriptor type
2015-04-23 15:41:59 +03:00
Michael Bogdanov
53b8a1d56e
Fix for KT-7544: Backend fails when inlining nested calls with reified type parameter and default value parameter
...
#KT-7544 Fixed
2015-04-23 15:41:59 +03:00
Ilya Gorbunov
526348b207
Implement toTypedArray as non-intrinsic.
...
Remove unused intrinsic method.
2015-04-23 14:10:42 +03:00
Denis Zharkov
14df5b72b7
Minor, uncomment throws with class literal in code
2015-04-23 11:22:39 +03:00
Denis Zharkov
634b1a9568
Add workaround for KT-7544
...
Inlining lambdas into objects or non-inlineable lambdas does not work well.
Should be reverted after issue will be fixed
2015-04-23 11:22:39 +03:00
Denis Zharkov
fef568dbf0
Refactor migrational intentions
...
- Make them independent on element
- Extract common parts into JetWholeProjectModalByTaskCollectionAction class
2015-04-23 11:22:38 +03:00
Denis Zharkov
1b42e2fdcc
Deprecate calls of annotations' methods
2015-04-23 08:27:43 +03:00
Denis Zharkov
29bf24b7d3
Use properties of Java annotations in codegen tests
...
Retain obsolete versions until support for methods in Java annotations is dropped
2015-04-23 08:27:42 +03:00
Denis Zharkov
6ca7d2aad7
Regenerate test data
...
Add properties for Java annotations
2015-04-23 08:27:41 +03:00
Alexander Udalov
20cd360b07
Rename built-in metadata files starting with dot
...
Files starting with dot are considered as hidden on Unix systems, and sometimes
are ignored by the tools. For example, Android build tools do not package such
files to the resulting application, which causes Kotlin reflection to fail
there
#KT-7088 Fixed
2015-04-23 03:17:29 +03:00
Evgeny Gerashchenko
f5677d8424
Converted JetPsiUtil.getElementTextWithContext() to Kotlin extension function.
2015-04-22 14:10:00 +03:00
Zalim Bashorov
1ef9b9db1f
JS backend: add the support function expression
...
#KT-7242 Fixed
2015-04-22 12:48:22 +03:00
Zalim Bashorov
02071c5bdd
Minor: move function expression tests to separate directory
2015-04-22 12:48:21 +03:00
Natalia Ukhorskaya
907f0db7be
Do not include files that contains only top level classes or objects to LightClassForPackage
2015-04-22 10:35:18 +03:00
Alexey Sedunov
d815634233
Control-Flow: Assign pseudo-values to local functions (except those
...
declared directly in the block)
2015-04-21 17:10:46 +03:00
Alexey Sedunov
5b1906fb13
Control-Flow: Add tests for pseudo-values of labeled expressions
2015-04-21 17:10:45 +03:00
Mikhail Glukhikh
e64dab0ae9
Review fixes after automatic code analysis
2015-04-21 15:29:34 +03:00
Mikhail Glukhikh
27625b04e1
Refactoring of JetTypeInfo / BindingContext. Loop data flow analysis corrected.
...
Now BindingContext includes expression type info instead of jump out possible, data flow info and expression type.
getType() was added into BindingContext, getType() and recordType() were added into BindingTrace.
JetTypeInfo now includes also jump possible flag and jump point data flow info.
Old TypeInfoWithJumpInfo deleted.
TypeInfoFactory introduced to create JetTypeInfo instances.
A pack of extra tests for break / continue in loops added.
2015-04-21 15:29:07 +03:00
Dmitry Jemerov
14b92404cd
add test for private-to-this visibility in traits
2015-04-21 14:13:30 +02:00
Dmitry Jemerov
8d922dda4d
private members of traits are not open by default
...
#KT-4171 Fixed
2015-04-21 14:13:29 +02:00
Denis Zharkov
5ce4f4cad1
Temporary comment out throws usage in code
...
Until new `throws` will be in bootstrap
2015-04-21 08:08:31 +03:00
Denis Zharkov
6ef2340eb5
Migrate type of throws parameter to KClass
...
Change declaration, testData and codegen parts for `throws`
2015-04-21 08:08:31 +03:00
Denis Zharkov
5b9aff12d0
Drop throws usages that looks redundant
...
Probably appeared after j2k-conversion
2015-04-21 08:08:31 +03:00
Alexander Udalov
6f8694976d
Fix test data
2015-04-20 23:30:05 +03:00
Michael Nedzelsky
d0616ed8bd
fix KT-7512 JS: project with external library lead to deadlock and IDEA freeze due to wrong storage manager configured
...
#KT-7512 Fixed
2015-04-20 21:02:01 +03:00
Alexander Udalov
3d928a0842
Refactor deserialization initialization in built-ins and JS
...
BuiltinsPackageFragment was only designed to work with a single instance alive.
Because of this, it was creating deserialization subsystem upon initialization.
This was not working perfectly in JS where it was used, because multiple
storage managers, class caches and other components were created for each
package, leading to different concurrency errors and performance hits. Also in
the near future another package fragment will be needed to represent the
built-in package "kotlin.reflect"
2015-04-20 19:09:35 +03:00
Alexander Udalov
19ddb4b510
Minor, remove unused stuff from MutableClassDescriptor
2015-04-20 19:09:35 +03:00
Alexander Udalov
2a3f658ea7
Minor, add missing space to error message
2015-04-20 18:57:31 +03:00
Michael Bogdanov
d34f103652
Rollback 'java8-test' module sdk to project one
2015-04-20 16:31:14 +03:00
Michael Bogdanov
f821f5a491
Fix source level
2015-04-20 15:51:41 +03:00
Andrey Breslav
c95eca10ef
Avoid wrapping AssertionError over and over again, see KT-7501
2015-04-20 15:48:43 +03:00
Michael Bogdanov
ef17ac6c0f
Use jdk8 for java8-test module
2015-04-20 13:36:42 +03:00
Mikhail Glukhikh
853483cf38
DataFlowInfo.getPossibleTypes() with two arguments rolled back
2015-04-20 12:01:46 +03:00
Michael Bogdanov
2f88f830b8
Test for KT-5969: Codegen overrides all java 8 default methods with delegation to unexisting Timpl
...
#KT-5969 Fixed
2015-04-18 14:45:16 +03:00
Michael Bogdanov
115c4b78c0
Added sam test on java8 interface with default method
2015-04-18 14:45:16 +03:00
Michael Bogdanov
5c18cfebd1
Support several java file compiling
2015-04-18 14:45:15 +03:00
Michael Bogdanov
7e3403f602
Add java8 test module and run configuration with initial test
2015-04-18 14:45:15 +03:00
Denis Zharkov
cc9322fbdd
Add quickfix for usages of javaClass<T>() in annotations loaded from Java
2015-04-17 18:52:17 +03:00
Denis Zharkov
7325a459e5
Ignore diagnostic on tests supposed to be dropped soon
2015-04-17 18:52:16 +03:00
Denis Zharkov
f53baebf89
Show warning on usages of javaClass<T>() in annotations loaded from Java
2015-04-17 18:50:37 +03:00
Denis Zharkov
482b4e3688
Minor, split and clean tests
...
Tests that are using javaClass supposed to be deleted soon
while other ones just check that annotation loaded correctly
and shold use class literals
2015-04-17 17:40:41 +03:00
Michael Bogdanov
48aef1eb28
Fix for KT-6895: Compile error on Android (EXCEPTION FROM SIMULATION) when declaring locals in an inline function
...
#KT-6895 Fixed
2015-04-17 14:24:35 +03:00
Michael Bogdanov
0080ebd386
Fix for KT-7273: Bad local variable type when using non-local return
...
#KT-7273 Fixed
2015-04-17 14:24:34 +03:00
Michael Bogdanov
51d5b52f69
refactorings
2015-04-17 14:24:34 +03:00
Michael Bogdanov
6465c6b680
Refactoring: extracted split method into intervals
2015-04-17 14:24:33 +03:00
Michael Bogdanov
2f88baf641
Refactoring: added Interval abstraction to represent TryCatchBlock and LocalVar nodes
2015-04-17 14:24:33 +03:00
Alexey Sedunov
daebf569ab
Extract Function: Allow capturing local function references as lambda parameters
2015-04-17 13:04:56 +03:00
Mikhail Glukhikh
86bb0d5bc5
Build fix. The second version of DataFlowInfo.getPossibleTypes returning also the original type added and used.
2015-04-17 11:49:44 +03:00
Valentin Kipyatkov
a155b0c860
ConvertToForEachLoopIntention - smaller range + refactored
2015-04-16 22:00:54 +03:00
Valentin Kipyatkov
dc6c6f13d5
OperatorToFunctionIntention and SwapBinaryExpressionIntention: more narrow availability range + no i18n
2015-04-16 22:00:52 +03:00