Pavel V. Talanov
105949de53
Refactor: fix stubs and psi having redundant constructor parameters
2014-03-24 17:06:06 +04:00
Pavel V. Talanov
b2f2d43919
Stubs for JetClassBody
2014-03-24 17:06:05 +04:00
Pavel V. Talanov
4ef86bdf9f
Add getFqName() to JetNamedDeclaration interface
...
Use stubs to get fq name in stubbed implementations
2014-03-24 17:06:03 +04:00
Pavel V. Talanov
4c1c69a560
Prevent toString for PSI from mutating
2014-03-24 17:06:02 +04:00
Pavel V. Talanov
1859ce6124
Minor: fix misleading parameter name
2014-03-24 17:06:00 +04:00
Pavel V. Talanov
8d07bc60d0
Refactor: remove redundant getElementType overrides is PSI
2014-03-24 17:05:59 +04:00
Pavel V. Talanov
24364dd63b
Get rid of JetNodeTypes#LOOP_PARAMETER
2014-03-24 17:05:58 +04:00
Alexander Udalov
0b5e9527d1
Add a code conformance test against com.beust.jcommander.internal.*
2014-03-24 16:40:07 +04:00
Alexander Udalov
d704b37240
Minor, delete outdated suppressions, fix warnings
2014-03-24 16:40:07 +04:00
Svetlana Isakova
8f1c7aa8f6
Refactoring: made 'resolveFunctionCall' return OverloadResolutionResults
...
not OverloadResolutionResultsImpl
2014-03-24 16:09:31 +04:00
Svetlana Isakova
9c21fb3b1f
Minor: removed "? extends"
2014-03-24 16:09:31 +04:00
Svetlana Isakova
77880f667a
Collect all resolved candidate calls if required
2014-03-24 16:09:31 +04:00
Svetlana Isakova
e6a71563ba
Added collectAllCandidates flag to ResolutionContext
2014-03-24 16:09:31 +04:00
Svetlana Isakova
d2f70b772d
refactoring: extracted method doResolveCallAndRecordDebugInfo
2014-03-24 16:09:31 +04:00
Mikhael Bogdanov
35174b459a
Enable Inline flag for light classes
2014-03-20 17:50:54 +04:00
Mikhael Bogdanov
ca4609dd2a
Support inline true/false options
2014-03-20 17:50:52 +04:00
Alexander Udalov
7d311cdfa0
Support named arguments for Java constructors annotated with KotlinSignature
2014-03-20 12:49:16 +04:00
Svetlana Isakova
b33e3fc9d6
Merge pull request #371 from Stebalien/push-not-in-intention
...
Add an intention to simplify negated expressions.
2014-03-20 11:15:36 +03:00
Svetlana Isakova
d90e6460d1
Added asserts about unfinished state
...
to ResolutionTaskHolder
2014-03-20 10:06:03 +04:00
Svetlana Isakova
3a14ab0af3
Removed ExpressionAsFunctionDescriptor
2014-03-20 10:06:03 +04:00
Svetlana Isakova
75fbecceda
Improved error reporting for invoke on expression
2014-03-20 10:06:02 +04:00
Svetlana Isakova
db253ae7e1
Added CallableDescriptorCollectors
...
to use it instead List<CallableDescriptorCollector>
2014-03-20 10:06:02 +04:00
Svetlana Isakova
8f269f1806
Refactoring: made explicitExtensionReceiverForInvoke final
2014-03-20 10:06:01 +04:00
Svetlana Isakova
f9ebf217a4
Added 'call' reference to ResolvedCall
2014-03-20 10:06:00 +04:00
Svetlana Isakova
a829da185d
Resolve invoke on any kind of expressions, not only on simple name expressions
2014-03-20 10:05:24 +04:00
Svetlana Isakova
c7087d170e
Refactoring: extracted isInvokeCallOnVariable
2014-03-20 10:05:24 +04:00
Svetlana Isakova
a194756327
Report resolve call errors on JetExpression, not on JetReferenceExpression
2014-03-20 10:05:24 +04:00
Svetlana Isakova
495d6326e5
Refactoring: do not store reference expression in resolution task
...
Sometimes there is no reference for the call (like '{ ... } ()').
A fake reference can be created, but the case when an error is reported on it can't be easily supported.
There were two usages of this reference: tracing and receiver for invoke.
Tracing strategy is created beforehand. Receiver for invoke uses the callee expression (from variable call), not the reference.
2014-03-20 10:05:23 +04:00
Svetlana Isakova
446aed5cf1
Rename
...
receiverForVariableAsFunctionSecondCall -> explicitExtensionReceiver
receiverFromVariable -> calleeExpressionAsThisObject
2014-03-20 10:05:23 +04:00
Svetlana Isakova
0a9dbbea79
Remove duplicates from implicit receiver hierarchy while building tasks
2014-03-20 10:05:23 +04:00
Alexander Udalov
1c5df773c5
Disallow named arguments for Java methods
...
Since they don't have stable names: they're (sometimes) loaded from the
bytecode, which (sometimes) doesn't contain parameter names
2014-03-19 23:24:28 +04:00
Alexander Udalov
5fa1774cc1
Support hasStableParameterNames in KotlinSignature and propagation
...
#KT-1924 In Progress
#KT-2830 Fixed
2014-03-19 23:24:28 +04:00
Alexander Udalov
7fcd42f40c
Fix annoying parameter name override warning
...
Some corner cases still remain: KotlinSignature, propagation, deserialized
delegates to Java interfaces
#KT-1239 Obsolete
#KT-1924 In Progress
#KT-2081 Fixed
2014-03-19 23:24:27 +04:00
Alexander Udalov
80a374a6e4
Minor, fix typo in diagnostic message
2014-03-19 23:24:27 +04:00
Alexander Udalov
b6b1f2a94a
Minor, package "test" in compileJavaAgainstKotlin testData
2014-03-19 23:24:27 +04:00
Alexander Udalov
7b7619d1f3
Refactor CompileKotlinAgainstCustomBinariesTest
...
Make all filenames start with lowercase letter (instead of half lower / half
upper)
2014-03-19 23:24:27 +04:00
Ilya Ryzhenkov
a3b45b919c
Temporarily replace usages of extension on iterators in compiler by _tmp() calls
2014-03-19 20:25:16 +04:00
Ilya Ryzhenkov
552776f00b
Output fixed for builtins serializer
2014-03-19 20:25:10 +04:00
Steven Allen
626ec6519c
Give tokens a value when possible
...
When a token can only have one value, store that value along with the
token. This is useful for unparsing kotlin.
2014-03-19 11:40:38 -04:00
Mikhael Bogdanov
fa67ab481b
VarRemapper -> LocalVarRemapper
2014-03-19 19:20:36 +04:00
Mikhael Bogdanov
86a02b54fa
Fix for debugger to support inlined lambdas
2014-03-19 19:20:36 +04:00
Mikhael Bogdanov
93367ffd3b
Generate local variable table for inlined lambda
2014-03-19 19:20:35 +04:00
Mikhael Bogdanov
75c57f9827
VarRemapper.ParamRemapper class merged into VarRemapper
2014-03-19 19:20:35 +04:00
Mikhael Bogdanov
f000d208a6
Removed generateLocalVarTable method
2014-03-19 19:20:35 +04:00
Mikhael Bogdanov
d059467727
Write line numbers for inlined lambdas
2014-03-19 19:20:35 +04:00
Nikolay Krasko
607314989c
KT-1633 support completion of named function parameters
2014-03-19 17:59:41 +04:00
Andrey Breslav
3255aaf231
Minor. Grammar rules fixed
2014-03-19 17:41:49 +04:00
Alexey Sedunov
abcba89ad3
Move top-level declarations: Implement refactoring processor
2014-03-19 15:31:29 +04:00
Alexey Sedunov
05d93df8b8
Unwrap light elements before getting FqName
2014-03-19 15:31:26 +04:00
Mikhael Bogdanov
e4cdde4ebf
Rename transformation methods to folding
2014-03-19 11:41:24 +04:00