Pavel V. Talanov
e7cd4bf6cf
Implement modificationTracker for CompositeDiagnostics
...
#KT-5981 Fixed
2014-10-10 16:46:05 +04:00
Evgeny Gerashchenko
fa70192f75
Added test for EA-49318.
2014-10-10 16:00:27 +04:00
Pavel V. Talanov
2fc2c73374
Test mutable diagnostics
2014-10-09 20:32:56 +04:00
Pavel V. Talanov
19ec9f9eda
Introduce MutableDiagnosticsWithSuppression and use it in BindingTrace implementations
...
Exposes the fact that Diagnostics is in fact a mutable entity with readonly API
Update readonly view when diagnostics are modified
Allows to avoid recreating DiagnosticsWithSuppression every time getDiagnostics() is called in DelegatingBindingTrace
which led to severe performance issues for large files with lots of diagnostics
2014-10-09 20:32:55 +04:00
Pavel V. Talanov
d7c06f0527
Default implementations for some functions in Diagnostics
2014-10-09 20:32:54 +04:00
Pavel V. Talanov
b98f000c29
Prevent external change in SimpleDiagnostics and convert to Kotlin
2014-10-09 20:32:54 +04:00
Pavel V. Talanov
ec077d5f8f
Minor: rename DiagnosticHolder -> DiagnosticSink
2014-10-09 20:32:53 +04:00
Michael Bogdanov
d4307c69d2
Fix for KT-4301: Too many StringBuilders on string concatenations
...
#KT-4301 Fixed
2014-10-09 12:23:06 +04:00
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