Andrey Breslav
6df2017d82
ASM printing API has changed
2012-07-25 12:07:20 +04:00
Andrey Breslav
5f3643804c
Import directives migrated from ASM 3.3 to 4.0 with renamed packages
2012-07-25 12:07:19 +04:00
Andrey Breslav
839c39c70d
Migrate build and project configuration to IntelliJ IDEA 12 (Leda) EAP
...
Major changes: ASM is switched from vanilla 3.3 to a 4.0 with renamed packages,
because this is done inside IDEA and we depend on that transitively.
Thus the jarjar renaming in build.xml, old library binaries deleted.
Also we now depend on exact IDEA build (EAP), not "last successful".
2012-07-25 12:07:19 +04:00
Alexander Udalov
6eb4cf5aa5
KT-2423 Jump after condition check in inner loop is to the wrong label
...
#KT-2423 Fixed
2012-07-23 20:11:27 +04:00
Svetlana Isakova
ee285f5c54
added Comparable to 'isForceReal' function
2012-07-20 19:46:55 +04:00
Alexander Udalov
2ac70ee35f
KT-2457 Verify error when comparing not null value with null in when
...
backend-side changes
2012-07-20 17:43:38 +04:00
Alexander Udalov
db008d5d38
KT-2466 "When" on boolean produces VerifyError
...
#KT-2466 Fixed
2012-07-19 21:39:41 +04:00
Andrey Breslav
bf503e9a4b
KT-2363 Drop secondary constructors
...
#KT-2363 Fixed
2012-07-19 19:53:06 +04:00
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