Dmitry Jemerov
|
1ac60dae5e
|
don't use PSI for calculating the type of first argument of trait function implementation
|
2012-07-13 16:12:33 +02:00 |
|
Dmitry Jemerov
|
a65453a1bd
|
remove unnecessary PsiElement check (which doesn't work correctly in case of a multi-module project and separate compilation), use ClassDescriptor instead
|
2012-07-12 21:02:59 +02:00 |
|
Dmitry Jemerov
|
bd01b82746
|
don't generate redundant checkcast
|
2012-07-12 20:26:44 +02:00 |
|
Dmitry Jemerov
|
5ab1608ced
|
pull generateTraitMethods() out of generatePrimaryConstructor(), don't inappropriately reuse ExpressionCodegen
|
2012-07-12 20:10:26 +02:00 |
|
Dmitry Jemerov
|
40e4e32eab
|
object declarations need trait methods to be generated too (KT-2399)
|
2012-07-12 17:45:41 +02:00 |
|
Dmitry Jemerov
|
de3f5d0e2d
|
avoid coercing 'this' to a supertype; cleaner handling of stackvalues for 'this' and 'super' (KT-2395)
|
2012-07-11 16:59:01 +02:00 |
|
Alexander Udalov
|
2d6b8abbe1
|
fix java.lang.Number type mapping to jet.Number (KT-2376)
|
2012-07-11 16:37:48 +04:00 |
|
Evgeny Gerashchenko
|
9d9eba2a49
|
Regenerated InjectorForJvmCodegen (it contained unused imports).
|
2012-07-11 15:55:54 +04:00 |
|
Alex Tkachman
|
8012725d38
|
KT-2060 fix
|
2012-07-11 13:10:54 +03:00 |
|
Dmitry Jemerov
|
1fe9c291f1
|
ugly and incomplete solution for using correct bytecode instruction when accessing properties inherited from traits (KT-2391)
|
2012-07-10 21:21:16 +02:00 |
|
Dmitry Jemerov
|
57c1b05684
|
generate correct cast for arguments of bridge methods (KT-2390)
|
2012-07-10 19:59:33 +02:00 |
|
Alexander Udalov
|
a07954eaac
|
load 'this' instead of $classobj if we're inside class object's constructor
#KT-2384 Fixed
|
2012-07-09 22:16:19 +04:00 |
|
Alexander Udalov
|
06f2cbc891
|
object literals now capture expressions from 'by' delegate specifier
#KT-2224 Fixed
|
2012-07-09 14:51:10 +04:00 |
|
Andrey Breslav
|
94660a91af
|
Clarifying comment
|
2012-07-09 13:39:04 +04:00 |
|
Andrey Breslav
|
1f95636bdf
|
Injectors regenerated
|
2012-07-09 13:39:03 +04:00 |
|
Evgeny Gerashchenko
|
f7290d178b
|
Replaced passing compiler special mode to JetTypeMapper with special enum type. Enum type means if builtin types should be mapped to Java standard classes in generated bytecode.
|
2012-07-07 23:07:18 +04:00 |
|
Alex Tkachman
|
b989c701e9
|
patch from audalov for KT-1959
|
2012-07-05 15:49:24 +03:00 |
|
Natalia.Ukhorskaya
|
d308311aeb
|
Revert commit 0e07358362
|
2012-06-27 18:17:13 +04:00 |
|
Natalia.Ukhorskaya
|
0e07358362
|
Invokespecial instruction for invocation of private methods
|
2012-06-27 17:13:35 +04:00 |
|
Andrey Breslav
|
ac06825f08
|
jet.Any: modality and constructor straightened
|
2012-06-26 23:13:53 +02:00 |
|
Nikolay Krasko
|
2c77a0941d
|
Add reader intention for the thread operation (EA-36906)
|
2012-06-26 19:33:25 +04:00 |
|
Alex Tkachman
|
c1802e2360
|
breakpoints for multi-file namespaces
|
2012-06-22 11:55:16 +03:00 |
|
Natalia.Ukhorskaya
|
9dfccddd6b
|
KT-2231Fixed: No executable code for a super-call
|
2012-06-21 19:43:59 +04:00 |
|
Evgeny Gerashchenko
|
95249099eb
|
KT-2279 Setter generated for abstract var is not abstract
#KT-2279 fixed
|
2012-06-20 19:15:41 +04:00 |
|
Evgeny Gerashchenko
|
ee5aab228b
|
Made accessor methods for private methods used in inner classes package-private.
|
2012-06-20 18:58:24 +04:00 |
|
Nikolay Krasko
|
f8371c1aa5
|
Check all files have same package
|
2012-06-20 16:23:37 +04:00 |
|
Evgeny Gerashchenko
|
9e727623c2
|
Fixed accessing namespace private members from inner classes. Added test.
|
2012-06-19 22:47:58 +04:00 |
|
Evgeny Gerashchenko
|
8cc0d96430
|
KT-1727 Supported private namespace members in compiled Kotlin code.
|
2012-06-19 22:47:58 +04:00 |
|
Evgeny Gerashchenko
|
5ecfd71611
|
Private outer functions are now accessed via bridge methods. Added tests.
|
2012-06-19 22:36:03 +04:00 |
|
Evgeny Gerashchenko
|
993aecbc94
|
Replaced duplicating code with CodegenUtil.getFlagsForVisibility() invocation.
|
2012-06-19 22:22:35 +04:00 |
|
Stepan Koltsov
|
11f2a98032
|
revert "DescriptorMatcher"
|
2012-06-18 20:53:55 +04:00 |
|
Stepan Koltsov
|
7deeb354a2
|
Revert "use the power of DescriptorPredicate in completion"
This reverts commit 65b74a19b4.
|
2012-06-18 20:49:47 +04:00 |
|
Nikolay Krasko
|
7b4fda4345
|
Don't create namespace class for file if codegen won't do so
|
2012-06-18 16:08:05 +04:00 |
|
Stepan Koltsov
|
955369988f
|
fix compilation
|
2012-06-17 03:59:17 +04:00 |
|
Stepan Koltsov
|
a95cc798a2
|
remove JetStandardLibrary dependency from jvm backend
|
2012-06-17 03:53:12 +04:00 |
|
Stepan Koltsov
|
30a097bbad
|
jvm backend: remove unused code
|
2012-06-17 03:53:11 +04:00 |
|
Stepan Koltsov
|
bd77fd3bdd
|
string intrinsics without JetStandardLibrary
|
2012-06-17 03:53:11 +04:00 |
|
Stepan Koltsov
|
f73f5b5074
|
implement (most) intrinsics without reference to standard library
|
2012-06-17 03:53:11 +04:00 |
|
Stepan Koltsov
|
b9c8637b47
|
intrinsics methods are only callables
|
2012-06-17 03:53:10 +04:00 |
|
Stepan Koltsov
|
e01b0a3713
|
constant for annotation class name
|
2012-06-17 00:27:45 +04:00 |
|
Evgeny Gerashchenko
|
49004aa451
|
Added assertion for 'inherited' visibility in codegen.
|
2012-06-16 19:38:20 +04:00 |
|
Evgeny Gerashchenko
|
4ed7404714
|
Since primary constructor is always present in class, generating "hidden" mark by backend is removed.
|
2012-06-16 15:39:36 +04:00 |
|
Evgeny Gerashchenko
|
b027e260a9
|
Backend now generates constructor visibility properly. Kotlin flags generation is added, too.
|
2012-06-16 14:36:38 +04:00 |
|
Evgeny Gerashchenko
|
1e7be51d49
|
Minor: added @NotNull annotation.
|
2012-06-16 14:36:38 +04:00 |
|
Evgeny Gerashchenko
|
5541488ca0
|
Added BitSetUtils and method converting BitSet to int.
|
2012-06-16 14:36:06 +04:00 |
|
Evgeny Gerashchenko
|
cfd56b4c2a
|
Fixed backend visibility modifiers for internal classes. They still are public in JVM, but have special flag.
|
2012-06-16 14:36:06 +04:00 |
|
Evgeny Gerashchenko
|
769d4ad2f0
|
Renamed JET_METHOD_FLAG* to FLAG* since they will be used not only in JetMethod annotation, but in JetClass, too.
|
2012-06-16 14:36:06 +04:00 |
|
Evgeny Gerashchenko
|
9f45e7cc08
|
Fixed visibility generated by backend for internal members. Now they are public in JVM, but have special flag in annotation.
|
2012-06-16 14:36:06 +04:00 |
|
Evgeny Gerashchenko
|
370f648140
|
Made JetMethodAnnotationWriter.writeFlags(BitSet) back public, since it is more convenient.
|
2012-06-16 14:36:05 +04:00 |
|
Stepan Koltsov
|
65b74a19b4
|
use the power of DescriptorPredicate in completion
|
2012-06-16 06:44:17 +04:00 |
|