Ilya Gorbunov
a80f65cfd9
Do not create empty list when reversing empty collection or array — use singleton empty list instead.
...
#KT-8099 Fixed
2015-06-19 19:41:10 +03:00
Michael Nedzelsky
8a3182d1e7
Update source roots for idea libraries
2015-06-19 15:51:53 +03:00
Nikolay Krasko
d1e7e184b6
Do psi-only checks to avoid unnessasary resolve in creating recursion markers
2015-06-19 14:15:17 +03:00
Mikhail Glukhikh
065db07e1c
More accurate check on an enum entry deprecated super constructor #EA-69735 Fixed
2015-06-19 13:50:49 +03:00
Yan Zhulanow
d0897193e8
kapt: Use actual classpath in the second Kotlin task as well
2015-06-19 02:29:13 +03:00
Yan Zhulanow
5f85a028ae
kapt: Fix ConcurrentModificationException in Gradle
2015-06-19 02:29:13 +03:00
Yan Zhulanow
d9ac8c9d22
kapt: Pass annotation declarations options via Java APT options
2015-06-19 02:29:12 +03:00
Yan Zhulanow
205585c63e
kapt: Support lazy evaluation of additional kapt arguments in test
2015-06-19 02:26:21 +03:00
Yan Zhulanow
8a10de3a26
Add Gradle test for additional kapt arguments
2015-06-19 02:26:20 +03:00
Yan Zhulanow
7f2bd5b9d4
Add basic kapt tests
2015-06-19 02:26:19 +03:00
Yan Zhulanow
fee1726dfb
Write annotations with RetensionPolicy(SOURCE) to light classes
2015-06-19 02:25:41 +03:00
Yan Zhulanow
17e6b8f014
kapt: Lazy evaluation of additional arguments
2015-06-19 02:25:40 +03:00
Yan Zhulanow
f158b5b0c4
Support additional compiler arguments
2015-06-19 02:25:40 +03:00
Yan Zhulanow
3ea4306eb9
kapt: Generate stub source file just after Kotlin compile
2015-06-19 02:25:40 +03:00
Yan Zhulanow
37d52501c8
Add simple annotation processor for tests
2015-06-19 02:25:39 +03:00
Michael Nedzelsky
eda7f49b61
fix KT-7879 KotlinJS - Cannot browse jslib sources
...
#KT-7879 Fixed
2015-06-18 19:47:56 +03:00
Alexey Sedunov
17ca0d2c2c
Minor: Extract Preview class
2015-06-18 19:28:08 +03:00
Alexey Sedunov
7ac02d751a
Minor: Use MultiMap
2015-06-18 19:28:07 +03:00
Alexey Sedunov
378c1744cb
Introduce Parameter: Suggest removing extension receiver which becomes unused after new parameter is added
2015-06-18 19:28:06 +03:00
Alexey Sedunov
5409b19abc
Change Signature: Do not replace implicit receivers in calls with at least one explicit receiver
...
#KT-7988 Fixed
2015-06-18 19:28:05 +03:00
Alexey Sedunov
d58112a32a
Extract Function: Use intersection type to compute candidate types for parameters
...
#KT-8103 Fixed
2015-06-18 19:28:04 +03:00
Alexey Sedunov
1a9003c325
Copy: Fix Kotlin file copying. Drop useless JetCopyClassHandler
...
#KT-7515 Fixed
2015-06-18 19:28:03 +03:00
Alexey Sedunov
683a8895df
Introduce Variable: Do not insert unused variable references
...
#KT-7227 Fixed
2015-06-18 19:28:02 +03:00
Alexey Sedunov
1506531e59
Rename: Fix class rename by constructor reference
2015-06-18 19:28:01 +03:00
dnpetrov
36ae8790a1
KT-8011 Compiler crashes on attempt to create local class inside lambda
...
- use StackValue from upper-level context if local lookup fails
#KT-8011 Fixed
2015-06-18 17:40:24 +03:00
Michael Nedzelsky
dba29fff0d
fix KT-7932 plugin generates absolute path to kotlin-jslib.jar for JS module (in .iml files)
...
#KT-7932 Fixed
2015-06-18 16:54:35 +03:00
Michael Nedzelsky
3b43f68c1e
minor: refactoring KotlinJavaScriptLibraryManager
2015-06-18 16:54:32 +03:00
Nikolay Krasko
818bfce1f1
Minor: add method for printing thread name
2015-06-18 16:45:23 +03:00
Nikolay Krasko
6d7cc8bc02
Minor: Don't print end message if profiler was muted
2015-06-18 16:45:22 +03:00
Nikolay Krasko
0f032100fc
Update source roots for idea libraries
2015-06-18 16:45:21 +03:00
Ilya Gorbunov
4093147c69
Regenerate docs for intersect and subtract. (PR#703)
2015-06-18 15:13:48 +03:00
Alex Roussos
00c2b684fd
Fix documentation for Sets intersect() and subtract()
...
Adds correct documentation for the Sets intersect() and subtract() methods, which had been copied from union().
2015-06-18 15:10:44 +03:00
dnpetrov
046189087a
KT-5963 Call to super shouldn't require type specification if there is no conflict
...
Implemented unqualified 'super' type resolution (in BasicExpressionTypingVisitor).
No overload resolution of any kind is involved.
Corresponding supertype is determined by the expected member name only:
- 'super.foo(...)' - function or property (of possibly callable type) 'foo'
- 'super.x' - property 'x'
Supertype should provide a non-abstract implementation of such member.
As a fall-back solution for diagnostics purposes, consider supertypes with abstract implementation of such member.
Diagnostics:
- AMBIGUOUS_SUPER on 'super', if multiple possible supertypes are available;
- ABSTRACT_SUPER_CALL on selector expression, if the only available implementation is abstract.
#KT-5963 Fixed
2015-06-18 14:16:34 +03:00
Ilya Gorbunov
46baffc233
Temporary Add jvmOverloads to String.indexOf
2015-06-17 23:15:33 +03:00
Sergey Mashkov
bff88b9fe1
Fix gradle test
2015-06-17 20:41:00 +03:00
Dmitry Jemerov
e852b2d748
fix tests, sorry
2015-06-17 18:18:24 +02:00
Alexander Udalov
1a3209e1dc
Drop traits with required classes
...
#KT-4771 Rejected
2015-06-17 16:23:58 +03:00
Alexander Udalov
dc909ba1d4
Minor, fix ExtensionReceiver#toString
2015-06-17 16:23:57 +03:00
Alexander Udalov
8207e08c61
Convert TraitImplBodyCodegen to Kotlin
2015-06-17 16:23:57 +03:00
Alexander Udalov
98ce0d529c
Fix incorrect 'original' in property accessors
...
#KT-3930 Fixed
2015-06-17 16:23:56 +03:00
Alexander Udalov
7c846388bd
Remove some unreachable/duplicated code in StackValue
2015-06-17 16:23:56 +03:00
Alexander Udalov
4dcc373a5a
Fix concrete method inheritance in interfaces
...
For each non-abstract non-declared (i.e. inherited from supertypes) method in
an interface we generate its static form to the TImpl, which calls the TImpl
method from the corresponding supertype.
The accidental override tests changed because we're now trying to generate the
delegate for the super method, not knowing that it will clash with the declared
method
#KT-2888 Fixed
#KT-5393 Fixed
2015-06-17 16:23:56 +03:00
Alexander Udalov
f81c364999
Add test cases for obsolete issues
...
#KT-3407 Obsolete
#KT-4753 Obsolete
2015-06-17 16:23:55 +03:00
Dmitry Jemerov
5eb4a47a1a
command line flag to repeat compilation multiple times
2015-06-17 14:55:12 +02:00
Dmitry Jemerov
ab33e4935e
restore perf output in command line; always remove it from output in tests
2015-06-17 14:53:09 +02:00
Sergey Mashkov
342f35fb65
IDL2K better dictionary support: generate interfaces with builder function
...
suppress inline warning, replace Long with Int
2015-06-17 15:26:06 +03:00
Sergey Mashkov
8238883ac4
IDL2K better dictionary support: generate interfaces with builder function
2015-06-17 15:26:06 +03:00
Sergey Mashkov
c4d53e1e16
IDL2K introduce required parameters list to avoid possible ambiguous calls
2015-06-17 15:26:06 +03:00
Sergey Mashkov
20a67c41ee
IDL2K introduce commented declarations list
2015-06-17 15:26:05 +03:00
Sergey Mashkov
2cc708c5a9
IDL2K restrict readonly attributes to vals
2015-06-17 15:26:05 +03:00