Alexander Udalov
|
d6e87c50ab
|
Don't use TypeIntersector when loading generic Java constructors
This is not entirely type-safe but this case is so rare that hardly anyone will
be able to spot the change
|
2015-10-28 19:17:56 +03:00 |
|
Alexander Udalov
|
12d6b6e7e4
|
Use "Any?" as out-type for type parameters instead of intersection of bounds
Also refactor checkSubtypeForTheSameConstructor to compute everything in the
best order
|
2015-10-28 19:12:26 +03:00 |
|
Alexander Udalov
|
426bddb54e
|
Move OverridingUtil#getUpperBound to OverloadUtil, add tests on overloads
|
2015-10-28 19:12:05 +03:00 |
|
Alexander Udalov
|
477823b093
|
Change override rules when type parameters have multiple bounds
Instead of constructing the magic intersection type, compare sets of upper
bounds instead as javac does, modulo the substitution
|
2015-10-28 19:12:02 +03:00 |
|
Alexander Udalov
|
a59ca2ea9f
|
Simplify obsolete code in OverridingUtil
|
2015-10-28 19:12:00 +03:00 |
|
Alexander Udalov
|
996c14d071
|
Use representative upper bound in JetTypeMapper instead of just the first
|
2015-10-28 19:11:59 +03:00 |
|
Alexander Udalov
|
3918005364
|
Minor, improve compileJavaAgainstKotlin test
Render human-readable output when there are errors
|
2015-10-28 19:11:58 +03:00 |
|
Alexander Udalov
|
05f9f5a661
|
Drop path() from FQ names, remove weird code from FqNameUnsafe
|
2015-10-28 19:11:53 +03:00 |
|
Mikhail Glukhikh
|
6e3eef2d6f
|
JetTypeInfo renamed to KotlinTypeInfo
|
2015-10-28 17:36:34 +03:00 |
|
Dmitry Petrov
|
4eb7458143
|
box test for KT-9712: tests were generated in different order.
|
2015-10-28 17:15:05 +03:00 |
|
Mikhail Glukhikh
|
d2c65a5336
|
Iterative call chain handling to get rid of JetTypeInfoInsideCallChain and other nasty things #KT-9754 Fixed
|
2015-10-28 16:00:30 +03:00 |
|
Michael Bogdanov
|
63f7f90521
|
Test for obsolete KT-8047
#KT-8047 Obsolete
|
2015-10-28 14:43:05 +03:00 |
|
Mikhail Glukhikh
|
f8a70302ac
|
Cleanup: get rid of effective visibility warnings
|
2015-10-28 14:31:51 +03:00 |
|
Natalia Ukhorskaya
|
b8e649e843
|
Minor: rename test
|
2015-10-28 14:23:46 +03:00 |
|
Natalia Ukhorskaya
|
4f1af224d1
|
Rewrite CheckLocalVariableTableTest using assertEqualsToFile
|
2015-10-28 14:23:43 +03:00 |
|
Nikolay Krasko
|
911432c99c
|
Use default render to check are all errors mentioned in tests. It's far more easier to read.
|
2015-10-28 13:39:46 +03:00 |
|
Michael Bogdanov
|
f3e6fab68e
|
Fix for KT-4250: IllegalAccessError when using protected java member from lambda function
#KT-4250 Fixed
|
2015-10-28 11:57:21 +03:00 |
|
Dmitry Petrov
|
21d927b7a4
|
Test for KT-9712 (fixed along with KT-9717)
#KT-9712 Fixed
|
2015-10-28 10:39:03 +03:00 |
|
Valentin Kipyatkov
|
55c2b71829
|
Removed asLexicalScope from ScopeUtils.kt
|
2015-10-27 18:24:55 +03:00 |
|
Stanislav Erokhin
|
553834fa9e
|
KT-9371 Callable reference resolve should not prefer one of the overloads by some magic reasons
#KT-9371 Fixed
|
2015-10-27 15:36:37 +03:00 |
|
Michael Bogdanov
|
b0efcec392
|
Fix for KT-9711: Exception in thread "main" java.lang.NoSuchFieldError: INSTANCE
#KT-9711 Fixed
|
2015-10-27 13:22:07 +03:00 |
|
Dmitry Petrov
|
882827bf04
|
KT-9717, KT-9603:
pass getter/setter-related flags to AccessorForPropertyDescriptor
|
2015-10-27 12:02:27 +03:00 |
|
Michael Nedzelsky
|
63f84fc60e
|
fix KT-9733 No error shown for 2 "main" functions in the same file
#KT-9733 Fixed
|
2015-10-26 21:30:24 +03:00 |
|
Alexander Udalov
|
b8b98b4eaa
|
Support get/set on KProperty objects for delegated properties
|
2015-10-26 21:02:35 +03:00 |
|
Yan Zhulanow
|
3475b4796f
|
Do not generate DefaultImpls if empty
|
2015-10-26 20:37:31 +03:00 |
|
Valentin Kipyatkov
|
9eeb051bd4
|
Refactoring FileScope into a chain of ImportingScope's (all compiler tests pass)
|
2015-10-26 19:29:59 +03:00 |
|
Valentin Kipyatkov
|
712e294eac
|
Renamed FileScope to ImportingScope and it now may have parent. But all implementations currently have parent == null
|
2015-10-26 19:29:59 +03:00 |
|
Alexey Tsvetkov
|
294559a94f
|
Overridable val should not be treated as constant
#KT-9443 fixed
|
2015-10-26 19:23:09 +03:00 |
|
Alexey Tsvetkov
|
0a69cca066
|
Box primitive types in position of generic receiver
#KT-9469 fixed
|
2015-10-26 18:36:59 +03:00 |
|
Alexey Tsvetkov
|
7c54024a22
|
Fix private setter visibility for generic class
#KT-8888 fixed
|
2015-10-26 18:36:59 +03:00 |
|
Denis Zharkov
|
881fe640e7
|
Create non-default getter for Enum.values property
#KT-9687 Fixed
|
2015-10-26 17:32:15 +03:00 |
|
Mikhail Glukhikh
|
4b6cb3ebce
|
A new kind of synthetic accessors for backing fields, if accessed inside lambda / object literal / local class #KT-9657 Fixed
A set of tests provided
Also #KT-4867 Fixed
Also #KT-8750 Fixed
Slight codegen refactoring
|
2015-10-26 16:37:32 +03:00 |
|
Dmitry Petrov
|
ccad435850
|
KT-9644: override default behavior for non-local return in FixStackAnalyzer
|
2015-10-26 15:56:57 +03:00 |
|
Mikhail Glukhikh
|
d0e01153ec
|
Effective visibility: java package-private is now considered as equivalent to Kotlin internal #KT-9755 Fixed
|
2015-10-26 15:00:14 +03:00 |
|
Alexander Udalov
|
1517a099d0
|
Search for JvmName also among use-site targeted annotations
#KT-9699 Fixed
|
2015-10-23 19:03:50 +03:00 |
|
Alexander Udalov
|
ae4c7b5a61
|
Minor, rename codegen tests on platformName and platformStatic
|
2015-10-23 19:03:49 +03:00 |
|
Michael Bogdanov
|
18f3eb87e4
|
INSTANCE field deprecated in companion object
Fix for KT-9692: Deadlock between <clinit> of a class (KtSimpleNameExpressionImpl) and <clinit> of its companion object
#KT-9692 Fixed
|
2015-10-23 17:39:27 +03:00 |
|
Svetlana Isakova
|
f00af72e0f
|
Fixed 'OnlyInputTypes' working with platform types
|
2015-10-22 21:55:16 +03:00 |
|
Svetlana Isakova
|
9877fe1a26
|
Fixed the call completer
to update the type of the argument expression correctly
|
2015-10-22 21:55:13 +03:00 |
|
Svetlana Isakova
|
06e90cf6a1
|
Annotated the return type of 'elvis' function with @Exact
fun <T> ELVIS(T?, T): @Exact T
|
2015-10-22 21:55:12 +03:00 |
|
Valentin Kipyatkov
|
74f2d60e19
|
No duplicate property accessor should be allowed
|
2015-10-22 18:48:19 +03:00 |
|
Michael Bogdanov
|
d5126213d3
|
Fix for KT-9364: M13 Wrong compiler error for "unable to inline function"
#KT-9364 Fixed
|
2015-10-22 17:20:57 +03:00 |
|
Michael Bogdanov
|
a7b3c70d21
|
Fix for KT-7017: Reified type referenced in object literal crashes at runtime
#KT-7017 Fixed
|
2015-10-22 16:06:13 +03:00 |
|
Michael Bogdanov
|
3e19514099
|
Test for obsolete KT-6988: java.lang.VerifyError: Bad return caused by inline reified
#KT-6988 Obsolete
|
2015-10-22 16:06:10 +03:00 |
|
Dmitry Petrov
|
829fc6938a
|
KT-9547: private package member can conflict only with the members
declared in the same file.
Cleanup OverloadUtil stuff.
Update testData.
|
2015-10-22 10:45:49 +03:00 |
|
Denis Zharkov
|
8db206e7ff
|
Take into account irrelevant implementation of special builtins
|
2015-10-21 17:51:43 +03:00 |
|
Denis Zharkov
|
d674aa1427
|
Refine signature mapping for special overrrides from Java
They have special JVM descriptor only when they are not inherited from
Kotlin super class
|
2015-10-21 17:51:43 +03:00 |
|
Denis Zharkov
|
c46b766fea
|
Load special property from Java in cases of J-K-J hierarchy
|
2015-10-21 17:51:43 +03:00 |
|
Michael Bogdanov
|
4dcf940756
|
Test for obsolete KT-4860
#KT-4860 Obsolete
|
2015-10-21 17:12:18 +03:00 |
|
Michael Bogdanov
|
55d2300860
|
Fix for KT-6722
#KT-6722 Fixed
|
2015-10-21 17:12:17 +03:00 |
|