Dmitry Jemerov
ab33e4935e
restore perf output in command line; always remove it from output in tests
2015-06-17 14:53:09 +02:00
dnpetrov
a2b2eba1a1
Extended version of AbstractWriteSignatureTest:
...
- support multiple expectations in file
- support field signature expectations
- report failures in a more usable format
2015-06-17 13:45:08 +03:00
Mikhail Glukhikh
707307b19c
Fix for a cyclic generic upper bound for a class type parameter. A pair of tests.
2015-06-17 11:56:28 +03:00
Alexey Sedunov
62f9672461
Rename: Fix field identifier replacement #KT-8018 Fixed
2015-06-16 21:15:40 +03:00
Alexey Sedunov
dda271d38d
Delete/Move: Delete entire file when deleting top-level class or object and no other top-level declarations are present. Ask the user confirmation if deletion if caused by the Move refactoring
...
#KT-8033 Fixed
2015-06-16 21:15:38 +03:00
Alexey Sedunov
f08c7d0fd8
Call Resolver: Fix nullability of parenthesized safe calls used as value arguments
...
#KT-7903 Fixed
2015-06-16 21:15:29 +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
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
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
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
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
Alexander Udalov
bca5eb083e
Don't report warnings when there are errors
...
All sane compilers do this
2015-06-15 15:42:40 +03:00
Alexander Udalov
4cfbf5886b
Get rid of unneeded MessageCollector implementations
2015-06-15 15:42:40 +03:00
Mikhail Glukhikh
e623aadf00
Exception fix: more accurate parsing of class base type #EA-65509 Fixed
2015-06-15 14:43:37 +03:00
Mikhail Glukhikh
d77c6eb30e
Exception fix: diagnose an error for a generic type which is a subtype of itself, a set of tests #EA-64453 Fixed
2015-06-15 14:43:24 +03:00
Mikhail Glukhikh
46d5290f70
Exception fix (equal returns true for the same types) #EA-65206 Fixed
2015-06-15 14:43:17 +03:00
Pavel V. Talanov
846c0e2522
AnalyzerFacade: compute module dependencies lazily
2015-06-13 20:36:50 +03:00
Pavel V. Talanov
705f35450f
Refactor setting dependencies for ModuleDescriptors
2015-06-13 20:36:47 +03:00
Pavel V. Talanov
1d696c2e54
Do not force evaluation of parent package in ResolveSession#createPackage
2015-06-13 20:36:44 +03:00
Denis Zharkov
e3c3af6aab
Change MISSING_CONSTRUCTOR_KEYWORD severity to error
...
And adjust testData
2015-06-12 11:23:13 +03:00
Denis Zharkov
eb7114bd53
Add 'constructor' keyword in whole project where needed
2015-06-12 09:55:15 +03:00
Denis Zharkov
414d6b92f6
Adjust testData: don't use java.lang.Class in annotations
2015-06-12 09:55:13 +03:00
Denis Zharkov
da254ab1a0
Drop support of java.lang.Class as annotation parameter
...
Also drop some related diagnostics and testData
2015-06-12 09:55:12 +03:00
Denis Zharkov
d71fe0d11a
Drop JavaClassValue and it's usages
...
Also drop related testData
2015-06-12 09:55:10 +03:00