Alexey Sedunov
d2c33c13a6
Change Signature/Rename: Fix renaming of extension function parameter
2015-06-16 21:15:27 +03:00
Dmitry Jemerov
a0aba04338
rebase ate my changes
2015-06-16 18:11:19 +02:00
Dmitry Jemerov
ed7cc67f19
thread-safe usage of performance counters list
...
#KT-8046 Fixed
2015-06-16 16:45:51 +02:00
dnpetrov
c369949d90
KT-6136 VerifyError on data class inheriting from trait
...
- coerce property values to proper data class component types
- add tests
#KT-6136 Fixed
2015-06-16 09:58:03 +03:00
Zalim Bashorov
a906b0336f
Add badges to ReadMe.md
2015-06-15 20:32:35 +03:00
Sergey Mashkov
4949624a2a
Revert IDL2K Multiple constructors (via secondary constructors when needed)
2015-06-15 20:17:23 +03:00
Sergey Mashkov
6d9413f02e
IDL2K Multiple constructors (via secondary constructors when needed)
2015-06-15 20:15:36 +03:00
Valentin Kipyatkov
7ee661d334
Minor
2015-06-15 18:32:45 +03:00
Valentin Kipyatkov
bf014fc1c5
KT-5419 J2K: convert string concatenation to string template + implemented corresponding inspection
...
#KT-5419 Fixed
2015-06-15 18:32:45 +03:00
Valentin Kipyatkov
ab97d76fed
Minor code improvements in ConvertToStringTemplateIntention
2015-06-15 18:32:44 +03:00
Valentin Kipyatkov
c8f9b466b6
More correct comparison with CANT_INFER_FUNCTION_PARAM_TYPE
2015-06-15 18:32:44 +03:00
Valentin Kipyatkov
efdfa4b247
Minor changes after review
2015-06-15 18:27:25 +03:00
Valentin Kipyatkov
1dbd342938
Minor
2015-06-15 18:27:25 +03:00
Valentin Kipyatkov
95baf9b884
Minor
2015-06-15 18:27:25 +03:00
Valentin Kipyatkov
2248abd93a
Inlined method
2015-06-15 18:27:24 +03:00
Valentin Kipyatkov
b20179af9f
WritableScope: got rid of mutability of implicit receiver
2015-06-15 18:27:24 +03:00
Valentin Kipyatkov
32bfd53101
Renames
2015-06-15 18:27:24 +03:00
Valentin Kipyatkov
9139a8f060
WritableScope: removed addLabeledDeclarations
2015-06-15 18:27:24 +03:00
Valentin Kipyatkov
73a534963c
Fixed detection of conflicts in local scope (but I'm not sure it's correct anyway)
2015-06-15 18:27:24 +03:00
Valentin Kipyatkov
45872b8126
Fix in change signature engine required after RESOLUTION_SCOPE became correct
2015-06-15 18:27:24 +03:00
Valentin Kipyatkov
89c2aca3a8
Memory optimization
2015-06-15 18:27:23 +03:00
Valentin Kipyatkov
b301b22f47
KT-4822 Wrong scope is used for local variable name completion
...
#KT-4822 Fixed
2015-06-15 18:27:23 +03:00
Valentin Kipyatkov
14ddc9d972
Memory optimization
2015-06-15 18:27:23 +03:00
Valentin Kipyatkov
f38267e21d
One more simplification
2015-06-15 18:27:23 +03:00
Valentin Kipyatkov
99001f0fe2
More correct and simple
2015-06-15 18:27:23 +03:00
Valentin Kipyatkov
2ab86192c3
One more simplification
2015-06-15 18:27:23 +03:00
Valentin Kipyatkov
060aeb60e1
Minor optimization
2015-06-15 18:27:23 +03:00
Valentin Kipyatkov
db0f212b3e
More code simplifications
2015-06-15 18:27:22 +03:00
Valentin Kipyatkov
472841de16
Inlined method
2015-06-15 18:27:22 +03:00
Valentin Kipyatkov
f88d603f5c
Removed unused code in WritableScopeImpl
2015-06-15 18:27:22 +03:00
Valentin Kipyatkov
b3d74c380a
Shadowed declarations filtering: more correct selection of imported declarations
2015-06-15 18:27:22 +03:00
Valentin Kipyatkov
985d69880f
Better tests
2015-06-15 18:27:22 +03:00
Valentin Kipyatkov
7b553ef3a7
Shadowed globals filtered out too
2015-06-15 18:27:22 +03:00
Valentin Kipyatkov
abc9c1ab02
Non-imported extensions from different packages do not shadow each other
2015-06-15 18:27:22 +03:00
Valentin Kipyatkov
8d11ab9866
Non-imported extensions are excluded when shadowed by members or something
2015-06-15 18:27:21 +03:00
Valentin Kipyatkov
f089d1ef55
Code refactoring
2015-06-15 18:27:21 +03:00
Valentin Kipyatkov
3d0c3e225e
Added test for second press completion for inaccessible
2015-06-15 18:27:21 +03:00
Valentin Kipyatkov
483da9607c
KT-4893 Code completion should not show multiple functions with the same signature
...
#KT-4893 Fixed
2015-06-15 18:27:21 +03:00
Sergey Mashkov
4c0e7e32e7
KT-8080 RemoveExplicitTypeArgumentsIntention crashes with AssertionError
2015-06-15 17:38:24 +03:00
Valentin Kipyatkov
4deefce603
KT-7901 Auto import is not suggested
...
KT-7229 Completion for extension functions with complex capture
#KT-7901 Fixed
#KT-7229 Fixed
2015-06-15 17:10:05 +03:00
Michael Nedzelsky
0877c09b80
fix EA-69474 - IAE: KotlinAbiVersionIndex$INDEXER$.map
2015-06-15 16:20:29 +03:00
Alexander Udalov
3a6ba67602
Delete unused diagnostic about j.l.Class in annotations
2015-06-15 15:55:23 +03:00
Alexander Udalov
9637c049fe
CLI: update KOTLIN_HOME lookup process in Bash script
...
The original code was taken from the 'scalac' script, where it has evolved
since and now is a lot easier to understand
2015-06-15 15:43:31 +03:00
Alexander Udalov
2f1316ec9c
CLI: don't pass -D and -J options to Kotlin
...
Kotlin compiler's CLI argument parser currently fails on these options, so
there was no convenient way to use them
2015-06-15 15:42:43 +03:00
Alexander Udalov
cdd53de9a7
CLI: get rid of duplication in JVM/JS scripts
2015-06-15 15:42:42 +03:00
Alexander Udalov
5ec4576844
CLI: add color to compiler output via jansi
...
Disabled on Windows temporarily, because for some reason colors there work only
in REPL
2015-06-15 15:42:42 +03:00
Alexander Udalov
00566bcfb0
Move MessageRenderer to module 'cli'
...
It will use jline soon, which is not available in 'cli-common'
2015-06-15 15:42:42 +03:00
Alexander Udalov
54dfd626ab
CLI: improve diagnostic message format
...
- render the whole line where the error/warning points to, if any, and another
line with '^', like other compilers do
- lowercase diagnostic severity
- decapitalize the message if it doesn't start with a proper name
2015-06-15 15:42:41 +03:00
Alexander Udalov
46515afb22
CLI: don't render non-positive line and column in error messages
2015-06-15 15:42:41 +03:00
Alexander Udalov
6083a18ce1
Convert CompilerMessageLocation to Kotlin
2015-06-15 15:42:40 +03:00