Ilya Gorbunov
845d755fdd
Make Char-related constants to be properties in Char companion object.
2015-04-10 15:22:02 +03:00
Alexander Udalov
646e81bc61
Regenerate tests
2015-04-10 12:34:31 +03:00
Alexander Udalov
b2e0eda953
Include protobuf to kotlin-for-upsource.jar
2015-04-10 12:32:46 +03:00
Michael Bogdanov
67c2f7105b
Fix for KT-6863: Internal compiler error folding functions
...
#KT-6863 Fixed
2015-04-10 08:59:27 +03:00
Michael Bogdanov
a24d845bd0
Test for KT-7009: VerifyError: Bad type on operand stack in daload
...
#KT-7009 Obsolete
2015-04-10 08:59:27 +03:00
Michael Bogdanov
824d1ac556
Fix for KT-7306: Implicit array conversions cause ClassCastException at runtime
...
#KT-7306 Fixed
2015-04-10 08:59:26 +03:00
Alexander Udalov
405038b2d8
Change sources of kotlin-runtime project library
...
Use sources from the project instead of ones in kotlin-runtime-sources.jar.
This is not very accurate, but fixes the problem with debugging anything from
'core' in the project (sources from the project were clashing with the sources
from the library)
2015-04-09 19:46:49 +03:00
Alexander Udalov
6182b3ff5c
Prohibit Array::class, require type arguments for reified parameters
2015-04-09 19:46:47 +03:00
Valentin Kipyatkov
a0d2b00287
Code corrections on code review
2015-04-09 19:09:09 +03:00
Valentin Kipyatkov
498f24b98b
KT-7291 Copy/paste of java declaration with preceding comment omitted does not convert it to Kotlin propertly
...
#KT-7291 Fixed
2015-04-09 19:09:09 +03:00
Valentin Kipyatkov
bfadd489a3
Imports on paste tests: generate result if does not exist and use default target file text
2015-04-09 19:09:09 +03:00
Valentin Kipyatkov
c5a785577b
Imports on paste: code refactoring
2015-04-09 19:09:09 +03:00
Valentin Kipyatkov
4a3592be50
Imports on paste: don't try to import symbols not visible from current module
2015-04-09 19:09:09 +03:00
Valentin Kipyatkov
ea7732883e
Tests: use errors dump instead of ALLOW_UNRESOLVED_REFERENCE
2015-04-09 19:09:08 +03:00
Valentin Kipyatkov
84a6f72ab3
Imports on paste: fixed overloaded extensions import
2015-04-09 19:09:08 +03:00
Valentin Kipyatkov
8d31a5c3a6
Imports on paste: do not suggest to import already imported extensions
2015-04-09 19:09:08 +03:00
Valentin Kipyatkov
0abc912208
Test to generate expected output if absent
2015-04-09 19:09:08 +03:00
Valentin Kipyatkov
93f1210f25
Imports on paste: added checking of symbols to import into test + fixed bug on copy/paste import/package directive
2015-04-09 19:09:08 +03:00
Valentin Kipyatkov
11380358ee
Converted to Kotlin
2015-04-09 19:09:08 +03:00
Valentin Kipyatkov
fe14107848
More simple code doing the same
2015-04-09 19:09:07 +03:00
Valentin Kipyatkov
f6e363abb8
J2K: replace overloads with optional parameters not only for constructors but for methods too
2015-04-09 19:09:07 +03:00
Valentin Kipyatkov
ff4ff78307
Use of Kotlin wrapper methods instead of Application.runReadAction/runWriteAction and CommandProcessor.executeCommand
2015-04-09 19:09:07 +03:00
Valentin Kipyatkov
00660bc59e
No explicit runReadAction needed
2015-04-09 19:09:07 +03:00
Valentin Kipyatkov
2440371cd9
Refactored code
2015-04-09 19:09:07 +03:00
Valentin Kipyatkov
3efc6cd383
J2K: default parameter values generated for secondary constructors too
2015-04-09 19:09:07 +03:00
Valentin Kipyatkov
9b80d49bab
Generated constructors with default parameter values are marked with kotlin.jvm.overloads annotation
2015-04-09 19:09:06 +03:00
Valentin Kipyatkov
1afbb961ee
KT-7135 Java to Kotlin converter should update usages in Java and Koltin code in the rest of the project
...
#KT-7135 Fixed
2015-04-09 19:09:06 +03:00
Andrey Breslav
b810ebbb0e
Report exceptions from analyzer in the editor
...
They are rendered as errors and positioned on those expressions that cause them
2015-04-09 18:15:08 +03:00
Alexey Sedunov
5b3ff187da
Create from Usage: Do not search usages of non-local properties
2015-04-09 13:49:25 +03:00
Alexey Sedunov
918eda0c9b
Introduce Parameter: Do not suggest containers of object and non-inner classes
2015-04-09 13:49:24 +03:00
Alexey Sedunov
80134b9b2b
Introduce Parameter: Support parameters without default values
2015-04-09 13:49:23 +03:00
Alexey Sedunov
13776f5bbd
Introduce Parameter: Duplicate search & replace
2015-04-09 13:49:22 +03:00
Alexey Sedunov
3bb86a63cc
Introduce Parameter: Remove parameters which become unused after occurrence replacement
2015-04-09 13:49:21 +03:00
Alexey Sedunov
53a6827ad8
Introduce Parameter: Initial support
2015-04-09 13:49:20 +03:00
Alexey Sedunov
06960be3ad
Minor: Extract findElementByComment() function
2015-04-09 13:49:18 +03:00
Alexey Sedunov
4af608ef84
Parser: Recovery for parameter with missing name
2015-04-09 13:49:17 +03:00
Alexey Sedunov
7d4d3e537c
Minor: Change signature of JetParameterInfo constructor
2015-04-09 13:49:16 +03:00
Alexey Sedunov
95a8db458b
Minor: Generify KotlinInplaceVariableIntroducer
2015-04-09 13:49:15 +03:00
Alexey Sedunov
ee8df94f19
Minor: Extract container selection logic
2015-04-09 13:49:14 +03:00
Alexey Sedunov
d3605a5352
Minor: Move getValueParameters() function to jetPsiUtil.kt
2015-04-09 13:49:13 +03:00
Alexey Sedunov
b47c700a27
Introduce Variable: Fix replacement of multiple occurrences when variable name is changed in the template editor
...
#KT-7244 Fixed
2015-04-09 13:49:12 +03:00
Michael Bogdanov
20653090d3
Test for KT-7338: Incorrect code is emitted for is-checks with array types, resulting in java.lang.VerifyError
...
#KT-7338 Obsolete
2015-04-09 11:10:33 +03:00
Michael Bogdanov
efd4a3ce84
Print bytecode on test fail
2015-04-09 09:25:26 +03:00
Michael Bogdanov
ce13b3a44a
Optimization fix
2015-04-09 09:25:26 +03:00
Michael Bogdanov
99496f8f52
Update some test due smap generation
2015-04-09 09:25:26 +03:00
Michael Bogdanov
c582b1d9ce
Generate linenumber if needed after inlining
2015-04-09 09:25:26 +03:00
Michael Bogdanov
8cd496556c
Generate local var table
2015-04-09 09:25:26 +03:00
Evgeny Gerashchenko
5c0a81fae1
Minor. Renamed test data. default object -> companion object.
2015-04-08 21:15:28 +03:00
Evgeny Gerashchenko
8ef2718e30
Added assert clarification for EA-66572
2015-04-08 21:15:28 +03:00
Evgeny Gerashchenko
4ba0d2aba5
Updated quasi-indeterministic test data. After introducing new line marker provider, which invokes lazy resolution, diagnostic is reported on different element.
2015-04-08 21:15:28 +03:00