Alexander Udalov
1576160390
Improve implementation of callable reference superclasses
...
Previously to use reflection on them, you had to wrap an already created object
with a "Reflection.function" or "Reflection.propertyN" call, which the JVM
back-end was doing. This was not optimal in several senses and current solution
fixes that
2015-11-09 22:24:40 +03:00
Alexander Udalov
1c889c4e67
Support equals, hashCode, toString for ::-references without reflection
2015-11-09 22:24:39 +03:00
Dmitry Jemerov
e64a270d1a
more renames to get rid of "Jet" in class and method names
2015-11-09 19:07:11 +01:00
Mikhail Glukhikh
2d9fbf5696
Always null detection
2015-11-09 16:36:34 +03:00
Michael Bogdanov
7147c84396
Fix for KT-9897: Cannot pop operand off an empty stack" with -= on ArrayList element
...
#KT-9897 Fixed
2015-11-09 16:17:24 +03:00
Nikolay Krasko
7be9699263
Make it possible to generate getTestsRoot() method with the test directory
...
Method can be used in setUp()
2015-11-07 01:27:35 +03:00
Michael Bogdanov
9d3fa7da80
Test for obsolete KT-8189: java.lang.UnsupportedOperationException: Don't know how to generate
...
#KT-8189 Obsolete
2015-11-06 12:17:07 +03:00
Michael Bogdanov
0619ef47ac
Fix for KT-9877: CompilationError: Cannot pop operand of empty stack
...
#KT-9877 Fixed
2015-11-06 11:46:13 +03:00
Michael Bogdanov
4d77181692
Fix for KT-9855: java.lang.IllegalAccessError when using private package level operator method
...
#KT-9855 Fixed
2015-11-06 11:46:12 +03:00
Michael Bogdanov
bd2b01ac1c
Fix for KT-5150: Accessors for private methods are not generated for get/set conventions
...
#KT-5150 Fixed
2015-11-06 11:46:12 +03:00
Michael Bogdanov
0fcaaa80df
Fix for KT-9140: Default parameters are passed as nulls when using indexing [ ] invocation
...
#KT-9140 Fixed
2015-11-06 11:46:11 +03:00
Mikhail Glukhikh
b556037915
Smart casts to nothing after comparison with null
2015-11-06 10:57:06 +03:00
Michael Nedzelsky
981d471ebe
fix KT-9843 Bug in incremental compilation: module is not recompiled when optional parameter added
...
and KT-8434 Removing parameter with default value from function in different module breaks incremental compilation
#KT-9843 Fixed
#KT-8434 Fixed
2015-11-06 07:45:46 +03:00
Michael Nedzelsky
3dbb117598
fix KT-7042 Providing return type for property setter is not reported as error
...
#KT-7042 Fixed
2015-11-06 06:32:20 +03:00
Michael Nedzelsky
c318a13e6c
Error on using extension function type as an upper bound
2015-11-06 06:31:52 +03:00
Ilya Gorbunov
f3ff2e2e76
Replace deprecated join with joinToString
2015-11-06 01:12:00 +03:00
Stanislav Erokhin
55157df3eb
Removed MemberScope.ownerDescriptor
2015-11-06 00:01:35 +03:00
Stanislav Erokhin
22f78b148c
Removed usages of MemberScope.ownerDescriptor property.
2015-11-06 00:01:34 +03:00
Stanislav Erokhin
c4582d0e0c
Replace function MemberScope.getContainingDeclaration() to property ownerDescriptor
2015-11-06 00:01:30 +03:00
Mikhail Glukhikh
5e9aa38950
More precise type handling for equality #KT-2311 Fixed
2015-11-05 17:29:34 +03:00
Alexander Udalov
dce64c974f
Don't output error for "kotlinc -version"
...
#KT-9676 Fixed
2015-11-05 15:13:19 +03:00
Stanislav Erokhin
2c3f58eeb7
Renamed methods in MemberScope from getSmth to getContributedSmth
2015-11-05 14:34:00 +03:00
Stanislav Erokhin
6f9d9759ce
Renamed KtScope to MemberScope
2015-11-05 14:34:00 +03:00
Alexander Udalov
748c0e7149
Don't assert that annotation class has constructor in AnnotationDeserializer
...
#KT-9758 Fixed
2015-11-05 13:42:31 +03:00
Stanislav Erokhin
a90ca14033
Removed KtScope.Empty and created util function emptyScope
2015-11-04 14:28:28 +03:00
Stanislav Erokhin
4e891a3f98
Minor. moved util method to Companion of LexicalScope
2015-11-04 14:28:27 +03:00
Stanislav Erokhin
f7629b0c84
Removed getAllDescriptors() and getOwnDeclaredDescriptors() from KtScope
2015-11-04 14:28:25 +03:00
Stanislav Erokhin
0b5de434fa
Removed usages KtScope.getAllDescriptors
2015-11-04 12:41:34 +03:00
Stanislav Erokhin
21fdd2ffc3
Created common supertype for LexicalScope & ImportingScope -- HierarchicalScope
2015-11-04 12:41:33 +03:00
Stanislav Erokhin
6412df2e0b
Change return type of KtScope.getProperties()
2015-11-04 12:41:32 +03:00
Stanislav Erokhin
cc56cf6292
Removed several hacks from ScopeUtils.kt
2015-11-04 12:41:30 +03:00
Stanislav Erokhin
a5c9f4d353
Minor. removed usage WritableScopeImpl from tests
2015-11-04 12:41:27 +03:00
Stanislav Erokhin
c8d9cfcd7b
Minor. removed usage WritableScopeImpl from JetTypeCheckerTest
2015-11-04 12:41:27 +03:00
Stanislav Erokhin
6ad23f23c5
Minor. removed useless call
2015-11-04 12:41:26 +03:00
Stanislav Erokhin
71620d2ed1
Minor. Move LockLevel to LexicalWritableScope
2015-11-04 12:41:24 +03:00
Nikolay Krasko
a614dfd90c
Fix build
2015-11-04 11:50:25 +03:00
Nikolay Krasko
e10f7fb464
Don't report missing getValue/setValue method error when it's was impossible to finish resolve
...
#KT-9803 Fixed
2015-11-04 02:31:15 +03:00
Ilya Chernikov
b71fec985f
Adding possibility to skip params inheritance on daemon jvm options creation, refactoring appropriate api, using it to fix tests
2015-11-03 21:56:31 +01:00
Dmitry Jemerov
0997f78764
fix CodeConformanceTest redux
2015-11-03 18:32:06 +01:00
Dmitry Jemerov
fd2c75f03b
fix CodeConformanceTest
2015-11-03 17:34:56 +01:00
Ilya Chernikov
bf16efb8cc
Adding test for parallel compilation with daemon
2015-11-03 14:18:18 +01:00
Dmitry Jemerov
3f46a13a56
regenerate tests
2015-11-03 14:08:59 +01:00
Dmitry Jemerov
19af88738b
remove Jet from names of classes in tests: phase 2
2015-11-03 14:06:04 +01:00
Dmitry Jemerov
c604f98a1c
remove Jet from names of classes in tests: phase 1
2015-11-03 14:06:03 +01:00
Michael Bogdanov
86f8845c00
Fix for KT-8928: NoSuchMethodError on private property setter in companion object
...
#KT-8928 Fixed
2015-11-03 15:41:22 +03:00
Michael Bogdanov
559b85caa8
Test for obsolete KT-6382: Incorrect bridge method calls are generated for member extension functions with default parameters
...
#KT-6382 Obsolete
2015-11-03 15:40:16 +03:00
Michael Bogdanov
9daa44566b
Fix for KT-5589: VerifyError when default value for parameter of local function is obtained from closure
...
#KT-5589 Fixed
2015-11-03 15:40:16 +03:00
Mikhail Glukhikh
41ebfd025e
More precise diagnostics of smart cast impossible #KT-7240 Fixed
2015-11-03 13:38:51 +03:00
Mikhail Glukhikh
03aaddd379
More correct handling of possible type set during assignment #KT-8229 Fixed
2015-11-03 12:49:21 +03:00
Mikhail Glukhikh
0a5a5a2e36
More precise diagnostics is added for smart cast impossible #KT-8810 Fixed
2015-11-03 11:15:58 +03:00