Pavel V. Talanov
51113c10b4
Drop some usages of KotlinBuiltIns.getInstance() in idea module
2015-10-01 17:53:02 +03:00
Pavel V. Talanov
f1c76f0467
extractableAnalysisUtil: Drop some usages of KotlinBuiltIns.getInstance()
2015-10-01 17:52:04 +03:00
Pavel V. Talanov
e42057c71c
Drop some usages of KotlinBuiltIns.getInstance() in ide-common module
2015-10-01 17:52:04 +03:00
Pavel V. Talanov
0610dd36fa
ConstantExpressionEvaluator: avoid calling KotlinBuiltIns.getInstance()
2015-10-01 17:52:03 +03:00
Pavel V. Talanov
b9da08d11c
TypeIntersector: refactor it to being a static utility
...
Deal with intersecting empty set of types on the call site
2015-10-01 17:52:03 +03:00
Pavel V. Talanov
b85fe40275
ScriptReceiver: Remove usage of KotlinBuiltIns.getInstance()
2015-10-01 17:52:02 +03:00
Pavel V. Talanov
e35e6f7f52
JetTypeCodeFragment: Remove usage of KotlinBuiltIns.getInstance()
2015-10-01 17:52:01 +03:00
Pavel V. Talanov
b5712033a8
Make DataFlowValue.NULL not static
2015-10-01 17:52:01 +03:00
Pavel V. Talanov
a72b050d91
Pass builtIns into CompileTimeConstantChecker constructor
2015-10-01 17:52:00 +03:00
Pavel V. Talanov
9b0970e1a9
Avoid calling KotlinBuiltIns.getInstance() in DescriptorRendererImpl
2015-10-01 17:52:00 +03:00
Pavel V. Talanov
9f858cbc56
ControlStructureTypingUtils: use real module descriptor instead of error module
2015-10-01 17:51:59 +03:00
Pavel V. Talanov
7429b65c73
Try to implement some of error utils without using KotlinBuiltIns
2015-10-01 17:51:59 +03:00
Pavel V. Talanov
6780a1fe90
Make DynamicCallableDescriptors non static and remove static object DynamicType
2015-10-01 17:51:58 +03:00
Pavel V. Talanov
424d71e964
Remove reference to KotlinBuiltIns from CompanionObjectMapping
...
Make it a class
2015-10-01 17:51:57 +03:00
Pavel V. Talanov
d2a4235dd8
Pass KotlinBuiltIns into getExpectedTypePredicate utility
2015-10-01 17:51:56 +03:00
Pavel V. Talanov
0fc23fc426
Use new method instead of some usages of KotlinBuiltIns.getInstance()
2015-10-01 17:51:56 +03:00
Pavel V. Talanov
22c250778e
Introduce TypeConstructor#getBuiltIns
2015-10-01 17:51:55 +03:00
Alexey Sedunov
896e1d8bc9
Rename: Drop 'override' keyword when renaming function/property without bases
...
#KT-4790 Fixed
2015-10-01 17:35:27 +03:00
Alexey Sedunov
2f251b9216
Rename: Drop 'operator' keyword if new name doesn't correspond to any convention
...
#KT-9357 Fixed
2015-10-01 17:35:26 +03:00
Alexey Sedunov
1f6f617546
Create from Usage: Suggest synthetic function classes as extension receivers
2015-10-01 17:35:25 +03:00
Alexey Sedunov
1d83d75a82
Create from Usage: Use function form when rendering FunctionN types
...
#KT-7522 Fixed
2015-10-01 17:35:24 +03:00
Alexey Sedunov
605802847a
Move Declarations: Fix processing of self-references
...
#KT-5847 Fixed
2015-10-01 17:35:23 +03:00
Alexey Sedunov
e3d8d819da
Inline Variable: Var support
...
#KT-5169 Fixed
2015-10-01 17:35:22 +03:00
Alexey Sedunov
007c7c17f0
Create parameter: Forbid inplace refactoring if occurrences contain out-of-parentheses lambda arguments. Fix lambda argument replacement
...
#KT-9307 Fixed
2015-10-01 17:35:21 +03:00
Alexey Sedunov
b805645489
Change Signature: Support receiver <-> parameter conversion for function expressions
...
#KT-9309 Fixed
2015-10-01 17:35:20 +03:00
Alexey Sedunov
2b354cd4db
Create parameter: Look for containing function if no class is found. Support secondary constructors
...
#KT-9322 Fixed
2015-10-01 17:35:19 +03:00
Alexey Sedunov
78f7e6b459
Extraction Engine: Support type parameter references
...
#KT-7260 Fixed
2015-10-01 17:35:18 +03:00
Alexey Sedunov
aa080bf201
Create from Usage: Forbid for parameters/local variables when reference is not an identifier
...
#KT-9305 Fixed
2015-10-01 17:35:16 +03:00
Alexey Sedunov
0ef8281823
Parameter -> Receiver Conversion: Don't show change signature dialog
...
#KT-9302 Fixed
2015-10-01 17:35:15 +03:00
Alexey Sedunov
9ec87c01ab
Property <-> Function Conversion: Add/remove 'get'/'is' prefixes automatically
...
#KT-8812 Fixed
2015-10-01 17:35:12 +03:00
Alexey Sedunov
1b9bbf0bb6
Move Declaration to Separate File: Process internal references since imports may be necessary in the new file
2015-10-01 17:35:11 +03:00
Nikolay Krasko
c2b4647aa8
Avoid storing same files in kotlin-compiler.jar for maven
...
#KT-9202 Fixed
2015-10-01 16:42:56 +03:00
Sergey Mashkov
a8e3ee9190
KT-6264 Introduce kotlin-osgi-bundle
...
The bundle is a mix of kotlin-runtime, kotlin-stdlib and kotlin-reflect. The main reason to do so intead of adding corresponding modules is that there is so called "split package" issue that couldn't be easily resolved
2015-10-01 15:37:35 +03:00
Michael Nedzelsky
0de9e8295a
add tests for incremental compilation: package members
2015-10-01 15:16:30 +03:00
Michael Nedzelsky
8557e540fc
incremental compilation: do not recompile on changes in private static final values.
2015-10-01 15:16:26 +03:00
Michael Nedzelsky
bc6746b9e6
add tests for comparison of package members
2015-10-01 15:16:22 +03:00
Michael Nedzelsky
c7b52bfdc1
fix KT-8977 Ignore non-public API changes for packages in incremental compilation
...
#KT-8977 Fixed
2015-10-01 15:16:18 +03:00
Zalim Bashorov
fca9b51548
Revert "extend test for code cleanup with changing visibility from private to internal for declarations, which are used outside of their file."
...
This reverts commit 9fd968d59e .
2015-10-01 14:57:26 +03:00
Zalim Bashorov
073b10072a
Minor: fix testdata
2015-10-01 14:57:26 +03:00
Zalim Bashorov
9256682cc5
Fix quickfix and tests
2015-10-01 14:57:26 +03:00
Zalim Bashorov
a36e4abf4d
Move visibility check for toplevel private declarations to Visibilities.PRIVATE and fix it.
2015-10-01 14:57:26 +03:00
Zalim Bashorov
94b110936e
Add the ability to get containing source file from SourceElement
2015-10-01 14:37:25 +03:00
Michael Nedzelsky
c7e5eb9ab8
fix AbstractBytecodeTextTest: read expected file with UTF-8 encoding
2015-10-01 12:16:48 +03:00
Alexander Udalov
1e6f230d69
Fix "ant compiler-quick", add conditional-preprocessor
2015-10-01 02:14:25 +03:00
Alexander Udalov
34d14939f9
Fix build after change in property accessor names
2015-10-01 02:14:25 +03:00
Valentin Kipyatkov
5afa91d4ec
Restored back temporarily renamed properties
2015-09-30 22:50:27 +03:00
Michael Nedzelsky
6466facffa
force UTF-8 encoding in CodegenTestCase.loadFileByFullPath
2015-09-30 22:35:38 +03:00
Mikhail Glukhikh
361448de8b
Rename: private / final property in trait --> in interface
2015-09-30 19:38:19 +03:00
Mikhail Glukhikh
7256a546df
Visibility modifiers are no longer allowed on local classes
2015-09-30 19:38:16 +03:00
Mikhail Glukhikh
6f7d9459fa
Completion for sealed class inheritors and a pair of tests
2015-09-30 19:38:14 +03:00