Commit Graph

14731 Commits

Author SHA1 Message Date
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
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 3b60dfa45b Refactoring: rename weight result enums 2014-03-19 17:59:43 +04:00
Nikolay Krasko 607314989c KT-1633 support completion of named function parameters 2014-03-19 17:59:41 +04:00
Nikolay Krasko 5a5f234377 Update dependency to 13.1 (135.475) 2014-03-19 17:53:32 +04:00
Andrey Breslav 3255aaf231 Minor. Grammar rules fixed 2014-03-19 17:41:49 +04:00
Zalim Bashorov d728f6ba92 JS backend: using JetPsiFactory instead of JetFileUtils. Drop JetFileUtils. 2014-03-19 17:36:45 +04:00