Commit Graph

27 Commits

Author SHA1 Message Date
Natalia.Ukhorskaya c5db89e534 Generated field for classObject is now final
EA-38323 Fixed - Illegal field modifiers in class
2012-09-14 16:41:13 +04:00
Alex Tkachman 53f145b533 optimization of delegates by val property 2012-09-08 09:34:02 +03:00
Andrey Breslav 7b01ce5acb Test for KT-2532 Exception on trying to override delegated member.
#KT-2532 Fixed
2012-09-07 14:49:02 +04:00
Kirill Berezin 6e951685de KT-2657 Fixed incorrect stack values order in delegation methods codegen #KT-2657 Fixed 2012-09-06 23:54:14 +04:00
Kirill Berezin 82a5beddea do not copy overrides for the delegated methods, it causes failure of delegation to traits which extend other traits 2012-09-06 20:27:43 +04:00
Kirill Berezin 1061e1ef69 do not generate delegates when the class already has such method either declared or delegated (report an ambiguity in this case)
Merge conflict resolved by committer
2012-09-06 20:27:43 +04:00
Kirill Berezin b84f068c33 kt-1760 delegation to java iface:
- removed codegen's unnecessary lookup for a declaration
- skipped class' only supertype (if any) methods when delegating
2012-08-30 14:03:43 +04:00
Alexander Udalov 926e01be9c decrease recursion depth to fix failing codegen test on Android 2012-07-31 20:45:06 +04:00
Alexander Udalov dcd5cad427 KT-2280 Recursive function declared in function results in VerifyError
#KT-2280 Fixed

A closure's constructor should not take an instance of itself as an
argument, because it would require caller to pass yet uninitialized
value. Instead it should initialize a corresponding field with 'this'
2012-07-31 19:38:14 +04:00
Andrey Breslav bf503e9a4b KT-2363 Drop secondary constructors
#KT-2363 Fixed
2012-07-19 19:53:06 +04:00
Evgeny Gerashchenko 5ecfd71611 Private outer functions are now accessed via bridge methods. Added tests. 2012-06-19 22:36:03 +04:00
Svetlana Isakova 0fd882741b function invocation with only type parameters prohibited 2012-05-23 22:04:22 +04:00
Stepan Koltsov 5e77ca553c make most codegen tests are indenendent from jdk-headers/stdlib now 2012-05-01 23:49:22 +04:00
Stepan Koltsov d71723131d Revert "enhance tests (mostly codegen)" temporarily
This reverts commit 95f9bcbacb.
2012-05-01 21:21:46 +04:00
Stepan Koltsov 95f9bcbacb enhance tests (mostly codegen)
* drop dependency on stdlib/alt-headers in the most tests
* assign to myEnvironment at most once in JetLiteFixture
* more tests do not compile runtime
2012-05-01 19:11:48 +04:00
Svetlana Isakova b5bf4a626c Reverted explicitly specifying visibility modifier while override 2012-04-18 19:02:24 +04:00
Svetlana Isakova 8d6d292150 more tests for resolve order 2012-04-18 19:02:24 +04:00
Svetlana Isakova 4d62fbad2b changed resolution order: first priority is 'local extensions; members; nonlocal extensions', than by implicit receivers (before was vice versa) 2012-04-17 14:05:45 +04:00
Svetlana Isakova 9b2eeb076e KT-1717 Don't make member visibility inherit when it is not declared explicitly
#KT-1717 Fixed
2012-04-03 19:26:28 +04:00
Alex Tkachman 18990e2c1b bug with delegation from EA 2012-02-22 13:02:48 +02:00
svtk 6251b413a2 New check rules for inc, plus & plusAssign
KT-1176 arrayList[0]++. Setter is stored for array access expression when it's needed
2012-02-03 12:10:12 +04:00
svtk 70d0cd882b KT-650 Prohibit creating class without constructor 2012-01-24 16:58:29 +04:00
Alex Tkachman e61a9f62ba crazy bug with constructing object of the same class as calling class 2012-01-24 13:30:38 +02:00
Andrey Breslav 6aad3b2662 GreatSyntacticShift: Codegen testdata fixed 2011-12-20 22:56:13 +04:00
Alex Tkachman d272979b09 thread ring benchmark and related bug fixes (non null array creation and wrong signature of enclosing class) 2011-12-07 11:51:50 +02:00
svtk 734e8ee3a2 Existing tests correction: forbid val reassignment 2011-10-24 17:40:16 +04:00
Dmitry Jemerov ec6dec0d37 separate compiler and plugin tests 2011-10-20 16:21:18 +02:00