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
Sergey Mashkov
c0c0f6152a
IDL2K avoid unnecessary super() calls in secondary constructors
2015-06-17 15:26:05 +03:00
Sergey Mashkov
28f228ccc0
IDL2K better results stability
2015-06-17 15:26:04 +03:00
Sergey Mashkov
1a5e6634e2
JS generate new stubs with latest IDL2K
2015-06-17 15:26:04 +03:00
Sergey Mashkov
68183a74fa
IDL2K rework types
...
Fixes #KT-8015
2015-06-17 15:26:04 +03:00
Sergey Mashkov
387291cbf7
IDL2K support static members
2015-06-17 15:26:03 +03:00
Sergey Mashkov
5000fe8133
IDL2K Multiple constructors (via secondary constructors when needed)
2015-06-17 15:26:03 +03:00
dnpetrov
a2b2eba1a1
Extended version of AbstractWriteSignatureTest:
...
- support multiple expectations in file
- support field signature expectations
- report failures in a more usable format
2015-06-17 13:45:08 +03:00
Evgeny Gerashchenko
b068a1dd5f
Added test for implicit receiver in class.
2015-06-17 13:14:07 +03:00
Evgeny Gerashchenko
154b0d8351
KT-7899 "Do not check if annotated by" setting for "Unused symbol" doesn't affect properties
...
#KT-7899 fixed
2015-06-17 13:14:06 +03:00
Evgeny Gerashchenko
cc70ea2586
KT-7883 Receiver parameter falsely marked as unused
...
#KT-7883 fixed
2015-06-17 13:14:06 +03:00
Evgeny Gerashchenko
7511b5bafe
If KotlinBuilder throws exception, user can see its stacktrace and report by one-click.
2015-06-17 13:14:06 +03:00
Evgeny Gerashchenko
88f2a4be52
KT-7651 IllegalArgumentException on attempt to rename class when it has anonymous subclasses
...
#KT-7651 fixed
#EA-69049 fixed
2015-06-17 13:14:06 +03:00
Evgeny Gerashchenko
985b8c0ba6
KT-8042 ISE at KotlinHighlightExitPointsHandlerFactory.createHighlightUsagesHandler() on typing a function name starting with throw
...
#KT-8042 fixed
#EA-68157 fixed
2015-06-17 13:14:05 +03:00
Evgeny Gerashchenko
0dd151142d
KT-3639 Can't find sources of AbstractIterator when navigating from stack strace
...
#KT-3639 fixed
2015-06-17 13:14:05 +03:00
Evgeny Gerashchenko
811fed547b
Convert to Kotlin, cleanup.
2015-06-17 13:14:05 +03:00
Evgeny Gerashchenko
cea0ffa3b7
Convert to Kotlin, auto-convert.
2015-06-17 13:14:05 +03:00
Evgeny Gerashchenko
254c58f9e4
Convert to Kotlin, rename.
2015-06-17 13:14:05 +03:00
Mikhail Glukhikh
707307b19c
Fix for a cyclic generic upper bound for a class type parameter. A pair of tests.
2015-06-17 11:56:28 +03:00
Nikolay Krasko
df2c7eb9b2
Update to Idea 141.1531.2
2015-06-17 11:52:02 +03:00
Nikolay Krasko
4f763c1a43
Fixes after review
2015-06-17 11:41:17 +03:00