Commit Graph

28320 Commits

Author SHA1 Message Date
Mikhail Glukhikh ea4f167091 Calls to non-@JvmStatic protected members of companion objects from subclasses are now errors (unsupported yet) 2015-11-27 15:58:38 +03:00
Yan Zhulanow e39ca63bcc Android Extensions: Fix Android JPS plugin 2015-11-27 15:51:11 +03:00
Yan Zhulanow 2cbf9d7e9b Add empty Android Extensions plugin 2015-11-27 15:51:11 +03:00
Yan Zhulanow 3d6bdd14b2 Minor: fix AbstractAndroidSyntheticPropertyDescriptorTest test, sort descriptors 2015-11-27 15:51:11 +03:00
Yan Zhulanow d21985493e Mark functions with 'operator' in JS stdlib 2015-11-27 15:51:11 +03:00
Yan Zhulanow 9d1af5a17e Fix tests: "infix modifier required" and "operator modifier required" errors 2015-11-27 15:51:11 +03:00
Yan Zhulanow a3ff3ffc45 Fix tests: "Placing function type parameters after the function name" error 2015-11-27 15:51:11 +03:00
Yan Zhulanow 3001af56c9 Mark SAM adapter functions as infix or operator if the original function is marked as such 2015-11-27 15:51:11 +03:00
Yan Zhulanow b7fcbff75c Some deprecation warnings are now errors 2015-11-27 15:51:11 +03:00
Yan Zhulanow 278f1cd6ef Fix "Placing function type parameters after the function name" errors in project 2015-11-27 15:51:11 +03:00
Yan Zhulanow 87799e9b6b Fix "operator modifier required" errors in project 2015-11-27 15:51:11 +03:00
Yan Zhulanow 46ac3571d5 Fix "infix modifier required" errors in project 2015-11-27 15:51:11 +03:00
Zalim Bashorov d1c5bd4526 Minor: remove unused parameter from LookupTracker.record 2015-11-27 15:08:06 +03:00
Zalim Bashorov 7faa886d26 Minor: add more logging in KotlinBuilder 2015-11-27 15:07:57 +03:00
Michael Nedzelsky 5f13dc31f1 ConstantExpressionEvaluator: code cleanup, get rid of weak warnings 2015-11-27 14:29:47 +03:00
Michael Nedzelsky 9aae5e6457 fix KT-9553 Invalid const initializers must be compile-time errors
#KT-9553 Fixed
2015-11-27 14:29:44 +03:00
Nikolay Krasko 18f892892c Update to idea 143.1015.7 2015-11-26 22:16:43 +03:00
Alexey Sedunov e37eea2b2d Create from Usage: Add infix modifier to functions generated from binary expressions
#KT-10184 Fixed
2015-11-26 21:22:20 +03:00
Alexey Sedunov 5b90c09ab1 Create from Usage: Add operator modifier to indexing get/set functions
#KT-10185 Fixed
2015-11-26 21:22:18 +03:00
Alexey Sedunov 7a40239e64 Introduce Variable: Support destructuring declarations
#KT-6262
2015-11-26 21:22:16 +03:00
Alexey Sedunov 09f8aafb77 Change Signature: Drop 'override' keyword when changing function/property, but not its overriden declarations
#KT-9470 Fixed
2015-11-26 21:22:15 +03:00
Michael Nedzelsky 2fa34ae170 KT-9883 prohibit using spread operator for nullable value
#KT-9883 Fixed
2015-11-26 19:42:34 +03:00
Stanislav Erokhin 63fa71606f Create new Tower Resolve 2015-11-26 16:21:49 +03:00
Stanislav Erokhin c08545359e Minor. Changes after review 2015-11-26 16:21:47 +03:00
Stanislav Erokhin ebc3ccbb2a Fixed scope kind for default values 2015-11-26 16:21:47 +03:00
Stanislav Erokhin a502405779 Fixed scope creations for properties scopes. 2015-11-26 16:21:46 +03:00
Stanislav Erokhin 67abdd755f Created kind in LexicalScope 2015-11-26 15:40:00 +03:00
Stanislav Erokhin f06f557dae Minor. introduce CallResolver.TaskContextForMigration 2015-11-26 15:38:17 +03:00
Michael Bogdanov 2d3d526ccd Fix for KT-10110: ClassReader$BadClassFile undeclared type variable: E
#KT-10110 Fixed
2015-11-26 13:29:30 +03:00
Dmitry Petrov 9ccb1fd506 KT-9601, KT-10103:
Chose maximally specific function in callable reference
 #KT-9601 Fixed
 #KT-10103 Fixed
2015-11-26 12:52:12 +03:00
Natalia Ukhorskaya 67dd97b918 Mark bridge methods in lambdas classes as synthetic
#KT-10101 Fixed
2015-11-26 11:39:19 +03:00
Natalia Ukhorskaya cb80a3e83a Write lineNumber for function literal with void return value
#KT-9865 Fixed
2015-11-26 11:39:18 +03:00
Natalia Ukhorskaya 4a2e4312ea Write lineNumber when inline function result is written to property 2015-11-26 11:39:17 +03:00
Natalia Ukhorskaya f40e3857fa KotlinOutputParser: do not amend next line to warnings
#KT-9678 Fixed #KT-10129 Fixed
2015-11-26 11:39:16 +03:00
Natalia Ukhorskaya 0d80b4f8b0 Fix compatibility with AS 2.0 (for master branch) 2015-11-26 11:39:16 +03:00
Natalia Ukhorskaya 48027f5fb5 Fix compatibility with AS 2.0
#KT-10153 Fixed
2015-11-26 11:39:15 +03:00
Ilya Gorbunov ca4bdd23e0 Provide flatten for sequence of iterables.
#KT-9977
2015-11-26 00:45:15 +03:00
Ilya Gorbunov 4181142400 Deprecate sequenceOf(Progression). 2015-11-26 00:45:15 +03:00
Ilya Gorbunov 8440c196d1 GeneratorSequence: do not get first value, until it's requested by iterator, allow initialValue to be null and return EmptySequence in this case.
#KT-9153 Fixed
2015-11-26 00:45:15 +03:00
Nikolay Krasko 29a9ba64ca Move creating sink for extra diagnostics into generation state to take responsibility for correct diagnostics suppression 2015-11-26 00:24:38 +03:00
Nikolay Krasko 652eeca872 Allow suppress additional diagnostics for JVM target
Suppression doesn't work without resolved annotation in binding context.
2015-11-26 00:24:38 +03:00
Nikolay Krasko 5bb141381b Refactoring: replace condition with function 2015-11-26 00:24:38 +03:00
Nikolay Krasko 7622e90438 Filter diagnostics during creating cache 2015-11-26 00:24:38 +03:00
Nikolay Krasko 7baf58b5de Refactoring: mark all fields in PositionStrategies with @JvmFileld and fix warnings 2015-11-26 00:24:38 +03:00
Nikolay Krasko d80c5ec7f7 Minor: clean warnings in ErrorsJvm 2015-11-26 00:24:38 +03:00
Nikolay Krasko 03fe5125cb Minor: remove warnings 2015-11-26 00:24:38 +03:00
Stanislav Erokhin 28226906da Minor. removed usages ExpressionReceiverImp 2015-11-25 20:53:40 +03:00
Stanislav Erokhin f0cefd5583 Create hacks for magic annotations NoInfer, OnlyInputTypes and LowPriorityInOverloadResolution. 2015-11-25 20:53:39 +03:00
Ilya Gorbunov 1be4f795ed Fix testData after deprecated toLinkedList and joinToString were dropped. 2015-11-25 18:35:04 +03:00
Ilya Gorbunov 229504f42d Byte iterator only available for buffered input streams,
InputStream.buffered() returns BufferedInputStream.
2015-11-25 18:35:03 +03:00