Natalia Ukhorskaya
fdef0b03fe
Fix compilation
2014-03-21 17:21:42 +04:00
Natalia Ukhorskaya
e8d2ba197e
Debugger: implement Smart Step Into
...
#KT-4639 Fixed
2014-03-21 16:08:01 +04:00
Andrey Breslav
3bc35adf09
Respect versions in site generator
2014-03-20 20:12:57 +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
Nikolay Krasko
0b1470b5e5
Remove com.beust.jcommander.internal.Lists usage
2014-03-20 16:38:55 +04:00
Alexander Udalov
7d311cdfa0
Support named arguments for Java constructors annotated with KotlinSignature
2014-03-20 12:49:16 +04:00
Alexander Udalov
d2dc54c14f
Add test on named arguments completion for Kotlin library
2014-03-20 12:25:58 +04:00
Alexander Udalov
1c25723764
Don't suggest non-stable parameter names in completion
2014-03-20 12:19:26 +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
Andrey Breslav
2a724a6eb4
Filename case fixed
2014-03-20 11:28:32 +04:00
Mikhael Bogdanov
9577c5c6ff
Fixed wrong argument usage and ClassCastException
2014-03-20 10:45:55 +04: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
f311da3f8f
Supported invoke on expressions on js backend
2014-03-20 10:06:00 +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
Evgeny Gerashchenko
f61470943a
KT-4683 KotlinNullPointerException at remove braces intention
...
#KT-4683 fixed
EA-54686 fixed
EA-54687 fixed
2014-03-19 23:20:24 +04:00
Nikolay Krasko
7b8e6fa462
Add kotlin templates for project create wizard
...
#KT-4689 Fixed
2014-03-19 21:08:29 +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
f07b7cc58d
Functions on iterators are deprecated
2014-03-19 20:25:16 +04:00
Ilya Ryzhenkov
33415c2333
Uncomment test for TreeSet
2014-03-19 20:25:15 +04:00
Ilya Ryzhenkov
fb7034a472
Clean TODOs and commented code which works.
2014-03-19 20:25:15 +04:00
Ilya Ryzhenkov
266f6ad81a
Clean TODOs, add custom Iterable implementation test.
2014-03-19 20:25:15 +04:00
Ilya Ryzhenkov
ceb2aa57f9
Make two overloads of copyOf to preserve nullness when size doesn't change
2014-03-19 20:25:14 +04:00
Ilya Ryzhenkov
108fdc0097
Make stream plus operation actually streaming (lazy).
2014-03-19 20:25:14 +04:00
Ilya Ryzhenkov
c5b0351aa7
Minor. Formatting
2014-03-19 20:25:13 +04:00
Ilya Ryzhenkov
94c88695bb
Function moved to stdlib
2014-03-19 20:25:13 +04:00
Ilya Ryzhenkov
0267e2910d
Test data fixed after stdlib updtae
2014-03-19 20:25:13 +04:00
Ilya Ryzhenkov
6650b641ea
Teach JetTestFunctionDetector to understand subclasses
2014-03-19 20:25:12 +04:00
Ilya Ryzhenkov
06873e9d09
Library paths updated after migration to new stdlib generators
2014-03-19 20:25:12 +04:00
Ilya Ryzhenkov
e37d8174c3
New stdlib generators
2014-03-19 20:25:11 +04:00
Ilya Ryzhenkov
0980f5e40a
Minor. Typo fixed
2014-03-19 20:25:11 +04:00
Ilya Ryzhenkov
b60fd5acc1
Stable order in generated code for JS library
2014-03-19 20:25:10 +04:00
Ilya Ryzhenkov
552776f00b
Output fixed for builtins serializer
2014-03-19 20:25:10 +04:00
Steven Allen
d198465522
Add an intention to simplify negated binary expressions
...
Given an expression of the form `!(a op b)`, replace it with `a !op b`.
For example:
!(a < b) -> a >= b
!(a is Int) -> a !is int
2014-03-19 12:10:28 -04:00