Michael Bogdanov
4a078c1143
Temporary disable local fun inlining (it's not supported now)
2014-10-09 10:38:14 +04:00
Nikolay Krasko
e85b36cdff
Store resolution context for light classes to prevent back-end fail
2014-10-09 02:28:41 +04:00
Nikolay Krasko
ad6a0c4b72
Add information about declaration
2014-10-09 02:28:41 +04:00
Valentin Kipyatkov
05aaea48e9
Added API in PSI to add/remove modifiers and refactored quickfixes to use it
2014-10-08 15:41:48 +04:00
Valentin Kipyatkov
93efcd637e
JetParameter made JetCallableDeclaration
2014-10-08 15:41:47 +04:00
Valentin Kipyatkov
852fc8bc5d
More renames of TypeRef to TypeReference
2014-10-08 15:41:47 +04:00
Valentin Kipyatkov
31ebee81f0
JetVariableDeclaration made JetCallableDeclaration and renamed getTypeRef/setTypeRef, getReturnTypeRef/setReturnTypeRef to getTypeReference/setTypeReference
2014-10-08 15:41:47 +04:00
Valentin Kipyatkov
b5722c9470
More correct code for adding type specification to function declaration with no parameter list
2014-10-08 15:41:46 +04:00
Valentin Kipyatkov
cc3ca57b75
Minor code editings
2014-10-08 15:41:46 +04:00
Michael Bogdanov
41c4c3befd
Fix test data for KT-3285
2014-10-08 09:34:50 +04:00
Evgeny Gerashchenko
b80f82dffd
Fixed filename case.
2014-10-07 20:57:05 +04:00
Michael Bogdanov
f8052817a8
Rollback some changes in MutableClosure
2014-10-07 18:43:29 +04:00
Evgeny Gerashchenko
b062548392
Expanded and simplified test for generating bridges in sam conversions.
2014-10-07 17:48:17 +04:00
Ilya Ryzhenkov
72f96cd55c
Generate bridges when creating SAM wrapper not from closure.
2014-10-07 17:48:17 +04:00
Michael Bogdanov
6bcb2e9001
Temporary fix for KT-5912
...
#KT-5912 Fixed
2014-10-07 17:48:17 +04:00
Michael Bogdanov
6b336be10c
Obsolete KT-1776: Can't resolve members of auto-casted "this" in extension without typing "this" explicitly
...
#KT-1776 Obsolete
2014-10-07 17:21:11 +04:00
Michael Bogdanov
278e682595
Obsolete KT-3285: "A receiver of type ... is required" when using extension functions
...
#KT-5467 Obsolete
2014-10-07 17:21:11 +04:00
Michael Bogdanov
bb3f1f1fb7
Fix for KT-5467: JVM codegen doesn't support capture of many extension receivers
...
#KT-5467 Fixed
2014-10-07 17:21:10 +04:00
Michael Bogdanov
c3cfe33b64
Fix for KT-5495: Support method implementations in local traits
...
#KT-5495 Fixed
2014-10-07 17:21:10 +04:00
Michael Bogdanov
212d3da950
Fix for KT-5937: Receiver of javaClass-property hasn't been generated
...
#KT-5937 Fixed
2014-10-07 17:21:10 +04:00
Zalim Bashorov
d986b0e565
Ant buildtools: added base class for Kotlin compiler ant tasks.
...
As side effect:
- used cli compiler in both ant tasks.
- got the ability to use custom args in JS ant task too.
2014-10-07 16:32:07 +04:00
Michael Bogdanov
d0d207f387
Fix for KT-3584: Wrong bytecode generated for local class with default parameters and captured local val
...
#KT-3584 Fixed
2014-10-07 10:13:53 +04:00
Michael Bogdanov
989cae9f1f
Fix for KT-4357: Compiler error with infix call to Array.get
...
#KT-4357 Fixed
2014-10-07 10:13:53 +04:00
Michael Bogdanov
7be48c7336
Support move on depth 2
2014-10-07 10:13:52 +04:00
Michael Bogdanov
e6c98078b3
Fixes for KT-4733 UnsupportedOperationException: don't know how to move type J to top of stack; KT-3430 VerifyError on a safe call to a primitive value
...
#KT-4733 Fixed
#KT-3430 Fixed
2014-10-07 10:13:52 +04:00
Michael Nedzelsky
df15e4767b
extract getTraitMethods from ImplementationBodyGen to CodegenUtil
2014-10-07 08:37:20 +04:00
Michael Nedzelsky
0c3a7a9d99
add more tests for bridge methods (fake override)
2014-10-07 08:37:18 +04:00
Michael Nedzelsky
0dd17535d6
JS backend: add TARGET_BACKEND: ONLY_JVM for some tests for bridge methods
2014-10-07 08:36:46 +04:00
Valentin Kipyatkov
d876e85eb2
Added API for changing type ref for function/variable and refactored code in some quickfixes to use it
2014-10-06 21:26:55 +04:00
Valentin Kipyatkov
2036b87ccf
Deleted strange unused method
2014-10-06 21:26:55 +04:00
Pavel V. Talanov
95302fd540
Fix not generating KotlinLightField for OBJECT$ and INSTANCE$ fields
...
Fix navigation from Java to such fields
Fix TODO in converter
2014-10-03 21:35:06 +04:00
Alexey Sedunov
865c793561
Create From Usage: Do not suggest "val" for references used as assignment left-hand side
2014-10-03 20:18:42 +04:00
Michael Bogdanov
609caa8159
Clean
2014-10-03 17:24:15 +04:00
Michael Bogdanov
15043b3c6d
Fixes for KT-4991: Prefix/postfix expressions resolved to local extensions are not supported in codegen;
...
KT-4989: Verify error on local functions and extensions;
KT-4987: NegativeArraySizeException on local extension convention function on nullable Int
#KT-4991 Fixed
#KT-4989 Fixed
#KT-4987 Fixed
2014-10-03 17:24:14 +04:00
Michael Bogdanov
0c11ca680e
Fix for KT-3969: Codegen fails on unary calls with default arguments
...
#KT-3969 Fixed
2014-10-03 17:24:14 +04:00
Alexey Tsvetkov
436fc33e84
Minor testData: fixed -Xno-inline option at extraHelp.out
2014-10-03 14:23:57 +04:00
Zalim Bashorov
0e075c7d5f
JS backend: added the ability to turn off the inline optimization.
2014-10-03 14:23:53 +04:00
Alexey Tsvetkov
987708680f
JS test: JS AST access from tests
2014-10-03 14:23:47 +04:00
Valentin Kipyatkov
c0db84331e
Fixed bug in join lines
2014-10-02 18:26:06 +04:00
Svetlana Isakova
ce01c61811
Rename: auto cast -> smart cast
2014-10-01 18:52:52 +04:00
Svetlana Isakova
20f3403c80
Rename: this object, receiver argument -> dispatch receiver, extension receiver
2014-10-01 18:52:51 +04:00
Svetlana Isakova
1d2d2f4845
KT-5873 Exception in ArgumentMatchImpl on smart completion
...
#KT-5873 Fixed
2014-10-01 18:52:51 +04:00
Nikolay Krasko
bc5f28d9fd
Refactoring: rename KotlinLightMethodFromTrait -> KotlinLightMethodForTraitFakeOverride
2014-10-01 18:05:38 +04:00
Nikolay Krasko
897ebd0347
Linemarker tests
2014-10-01 18:02:52 +04:00
Nikolay Krasko
8ada9b68b0
Add special class for getting methods from traits
2014-10-01 18:02:31 +04:00
Pavel V. Talanov
a8d77887af
Introduce HighlightingWithDependentLibrariesTest
...
This tests that LibraryInfo dependencies affect source files highlighting
2014-09-30 21:59:01 +04:00
Alexey Sedunov
be211d7cda
Create From Usage: Generalize function builder for both functions and properties
2014-09-30 19:55:40 +04:00
Natalia Ukhorskaya
9032a6166e
Fix Android tests
2014-09-30 17:48:40 +04:00
Natalia Ukhorskaya
4994e771d0
Evaluate expression: support EE for shared vars
2014-09-30 15:00:28 +04:00
Denis Zharkov
f1d9d11590
Store stack values before inlines. #KT-5634 Fixed
...
Inlining code violates JIT assumptions for OSR in Java 8 in case of
starting with non-empty and containing cycles.
Fix is to mark each inlined block with markers and then store/restore
stack state before and after inlined body.
2014-09-29 17:16:58 +04:00