Ilya Gorbunov
59a9e2549c
Fix tests: codegen, completion, decompiler consistency, quickdoc, intentions, navigation, reference resolver, quick fixes
2015-12-14 04:29:25 +03:00
Ilya Gorbunov
f55b421853
Partially support default imports when analyzing ReplaceWith annotation pattern.
2015-12-14 04:29:23 +03:00
Ilya Gorbunov
d296d91272
Fix fq-names of top-level extensions in intentions.
2015-12-14 04:29:21 +03:00
Ilya Gorbunov
5df94da216
Fix fq-name of listOf in extract function.
2015-12-14 04:29:20 +03:00
Ilya Gorbunov
4dde59368c
Fix tests not to duplicate array constructor definitions as they are available now in builtins.
2015-12-14 04:29:18 +03:00
Ilya Gorbunov
f509937037
Move array constructors to builtins module back to kotlin package.
2015-12-14 04:29:11 +03:00
Ilya Gorbunov
5aff07561d
Move jvm annotations and class mapping intrinsics to runtime.jvm module to kotlin.jvm package.
...
Make annotationClass to be a property.
Deprecate with error javaClass property on KClass<T>
2015-12-14 03:51:07 +03:00
Ilya Gorbunov
feff5b2327
Stdlib generators: change values back to function.
2015-12-14 03:49:59 +03:00
Ilya Gorbunov
2d85c437cd
Final moves: BigInteger and BigDecimal operations
2015-12-14 03:49:58 +03:00
Ilya Gorbunov
0ab33ab075
Final moves: map delegating accessors and timing utils, provide deprecated methods in the old place
2015-12-14 03:49:56 +03:00
Ilya Gorbunov
597f2c0a8c
Final moves: map delegating accessors and timing utils
2015-12-14 03:49:55 +03:00
Ilya Gorbunov
16fbdcf107
For migration: provide deprecated classes inheriting multifile facade classes moved out of kotlin package.
2015-12-14 03:49:53 +03:00
Ilya Gorbunov
ae3135c770
For migration: Make an option "Xmultifile-facades-open" for compiler to generate open multifile facade classes.
2015-12-14 03:49:51 +03:00
Ilya Gorbunov
594d981094
Provide deprecated AbstractIterator in the old package kotlin.support.
2015-12-14 03:49:49 +03:00
Ilya Gorbunov
91b920f18e
Move IndexedValue, IndexingIterable and IndexingIterator back to kotlin package
2015-12-14 03:49:48 +03:00
Ilya Gorbunov
871c5c66b4
Move code between packages (JS)
2015-12-14 03:49:46 +03:00
Ilya Gorbunov
dd2ae15531
Move code between packages.
2015-12-14 03:49:45 +03:00
Ilya Gorbunov
81e7826568
Move generated code between packages.
2015-12-14 03:49:43 +03:00
Alexander Udalov
477e25ae2f
Remove Intrinsic annotation from *arrayOf functions
2015-12-14 03:49:41 +03:00
Ilya Gorbunov
09191622e5
Fix testData: import became not required.
2015-12-14 01:07:51 +03:00
Ilya Gorbunov
42565129ee
Add packages kotlin.collections, kotlin.ranges, kotlin.sequences, and kotlin.text to default imports.
2015-12-14 01:07:49 +03:00
Alexander Udalov
65c5c99c68
Render decompiled annotations on enum entries
2015-12-13 17:49:44 +03:00
Alexander Udalov
6f347f351a
Load annotations on compiled Kotlin enum entries
...
#KT-10339 Fixed
2015-12-13 03:52:42 +03:00
Alexander Udalov
3e2eb8c1a0
Serialize/deserialize annotations on enum entries
...
#KT-10338 Fixed
2015-12-13 03:52:41 +03:00
Alexander Udalov
5e421b4024
Improve type parameter bound diagnostic location
...
If there's only one erroneous bound (vast majority of cases), report it on the
bound; otherwise (to avoid reporting it several times) report on the type
parameter declaration
2015-12-13 02:06:07 +03:00
Michael Bogdanov
39d9b35e27
Force resolve companion in light class generation
2015-12-12 11:41:37 +03:00
Michael Bogdanov
a849f3f5d4
Fixed filtering error
2015-12-12 11:41:37 +03:00
Michael Bogdanov
4ad113d836
Removed redundant check
2015-12-12 11:41:36 +03:00
Michael Bogdanov
7c7786f7d0
Generate private methods in TraitImpl as private, don't generate delegation to private trait methods
2015-12-12 11:41:36 +03:00
Michael Bogdanov
a2d644f708
Fix for KT-9958: NoSuchMethodError when we call protected method from companion object
...
#KT-9958 Fixed
2015-12-12 11:41:35 +03:00
Michael Bogdanov
a7eea6e4dd
Get rid of NeedSyntheticChecker
2015-12-12 11:41:35 +03:00
Denis Zharkov
b443f605ed
Minor. Add load-java test checking that SamAdapterOverridabilityCondition is on
2015-12-11 22:41:03 +03:00
Denis Zharkov
871fe7680b
Load special override as HIDDEN in case of signature clash
...
#KT-10151 Fixed
2015-12-11 22:41:03 +03:00
Denis Zharkov
45c0bc3610
Add 'subClassDescriptor' parameter to ExternalOverridabilityCondition
2015-12-11 22:41:03 +03:00
Denis Zharkov
417ff281ee
Split getOverriddenBuiltinWithJvmDescriptor into two extensions
2015-12-11 22:41:02 +03:00
Mikhail Glukhikh
fe78f944a6
Private setter for open property: is now an error, not a warning
2015-12-11 18:54:40 +03:00
Mikhail Glukhikh
00504a3f6d
Private setter for open property: take containing class modality into account #KT-10325 Fixed
2015-12-11 18:54:28 +03:00
Dmitry Jemerov
470dfc9bec
remove "Jet" from names of classes related to resolve/scopes
2015-12-11 16:07:13 +01:00
Stanislav Erokhin
39b6637c7c
Fix exception from InvokeProcessor when we get invoke from extension function type.
2015-12-11 17:01:04 +03:00
Stanislav Erokhin
616bb444ec
Minor. strip explicit receiver for variable call if needed.
2015-12-11 17:01:03 +03:00
Stanislav Erokhin
1890b8cbd3
Removed InvokeOnExtensionFunctionWithExplicitReceiverFix
2015-12-11 17:01:03 +03:00
Stanislav Erokhin
dd24fd47f7
Update control flow test data for tower resolution algorithm
...
- locals win
- drop old invokeExtension convention
2015-12-11 17:01:02 +03:00
Stanislav Erokhin
79b30dddf9
Update lookupTracker test data for tower resolution algorithm
2015-12-11 17:01:02 +03:00
Alexander Udalov
239502368a
Update test data for tower resolution algorithm
...
- locals win
- unary calls to plus/minus are not supported in favor of unaryPlus/unaryMinus
- unqualified nested classes are temporarily reported as unresolved
- function without receiver win against extension function
- explicit import win against star import
2015-12-11 17:01:02 +03:00
Stanislav Erokhin
66a031f7a0
Do not enter in recursion for implicit invoke on variable with un inferred type
2015-12-11 17:01:01 +03:00
Stanislav Erokhin
1dca49cecc
Workaround for tower resolution algorithm in kotlin code. Will be investigated.
2015-12-11 17:01:01 +03:00
Stanislav Erokhin
cbe1ffed55
Use new tower resolution algorithm by default
2015-12-11 17:01:00 +03:00
Natalia Ukhorskaya
f699adda33
Stepping: skip methods deleting to static method call of DefaultImpl.
...
Support smart step into interface methods with implementation
#KT-4803 Fixed
2015-12-11 16:21:05 +03:00
Natalia Ukhorskaya
ea8de883ac
Implement 'Skip simple getters' for debugger
2015-12-11 16:21:04 +03:00
Michael Bogdanov
b950bf0e6e
Fix for KT-10259: Proguard can't find generated lambda class of lambda nested inside object?.let lambda
...
#Fixed KT-10259
2015-12-11 16:14:59 +03:00