Alexander Udalov
99827d10a8
Rename *.jet -> *.kt in codegen tests
2013-01-24 21:12:27 +04:00
Nikolay Krasko
44dcdde513
Dispose GeneratedClassLoader
2013-01-22 16:05:23 +04:00
Alexander Udalov
ffd62eb80e
Refactor ClassGenTest
...
Initialize environment with JDK_ONLY in setUp(), allowing to quickly launch
tests without compilation of stdlib.
Remove duplicate/unneeded/commented out tests
2013-01-18 18:04:09 +04:00
Natalia.Ukhorskaya
47abdcf565
Rename namespace class to {package.name}Package
...
Conflicts:
compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
2013-01-15 19:45:06 +04:00
Evgeny Gerashchenko
e03eaf6dde
Removed @author javadocs from code.
2012-12-28 17:44:31 +04:00
Alexander Udalov
288e3a7b40
Cast arguments to proper types when generating delegates
...
Also minor refactoring in a couple places to adopt this style
2012-10-30 16:47:50 +04:00
Sergey Mashkov
edb8797fa6
KT-2987 java.lang.AbstractMethodError/java.lang.NoSuchMethodError for delegated class by parameterized parent
...
#KT-2987 Fixed
2012-10-25 16:26:58 +04:00
Kirill Berezin
194ef38ba3
KT-2477 fake overrides now get INHERITED visibility in order to maximize visibility according to inherited traits\classes
2012-09-25 19:17:55 +04:00
Alex Tkachman
ee784eb2fe
some debug print commented
2012-09-23 18:04:14 +02:00
Alex Tkachman
be09227569
generation of inner classes inside object literal. #KT-2607 fixed
...
on the way ClassCodegen and MemberCodegen refactored out and injectors regenerated
2012-09-20 17:57:07 +03:00
Andrey Breslav
5eaa5b396b
Removing usages of tuples from test data
...
(KT-2358 Drop tuples)
#KT-2358 In progress
2012-09-18 20:27:09 +04:00
Alex Tkachman
e317764a88
correct access flags for package private (coming from java) #KT-2781 fixed
2012-09-16 10:08:36 +03:00
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
fb4d6610a8
unification of accessable descriptor lookup between functions and properties
2012-09-12 09:20:10 +03:00
Alex Tkachman
4eea0cafb9
test for obsolete KT-2626
2012-09-11 15:51:16 +03: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
Svetlana Isakova
e72c3d79f8
changed ConfigurationKind in tests
...
from JDK_ONLY to JDK_AND_ANNOTATIONS
(after collections mapping added)
2012-09-05 18:55:18 +04:00
Alex Tkachman
737b794935
fix for KT-2711 wrong check on descriptor being integral range
...
method added to JetStandardLibrary to get all integral range descriptors
#KT-2711 fixed
2012-08-31 13:49:20 +03: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
Alex Tkachman
10a47ea86f
big codegen rewrite
2012-08-27 17:43:03 +03:00
Andrey Breslav
c0c2ca0ac2
Report errors when iterator() returns a nullable type
2012-08-24 19:49:33 +04:00
Alex Tkachman
fb5bf2f8c6
local classes without closures
2012-08-22 18:40:37 +03:00
Alex Tkachman
68e436610c
KT-1535 test for obsolete issue
2012-08-06 10:55:37 +03:00
Alex Tkachman
532c5b791c
KT-454 test for obsolete issue
2012-08-06 10:47:51 +03:00
Alex Tkachman
eaddf5db2d
KT-2480 test for obsolete issue
2012-08-06 10:42:23 +03:00
Alex Tkachman
3f4a197184
KT-2417 fix: proper handling of !in
2012-08-06 10:33:27 +03:00
Alex Tkachman
3ca1cbf5a0
KT-1845 test for obsolete issue
2012-08-04 19:17:36 +03:00
Alex Tkachman
e1e8c65a71
KT-2257 fix. private namespace visibility becomes protected in java land
2012-08-04 18:58:45 +03:00
Alex Tkachman
e8debde256
test for unreproducable KT-2288
2012-08-03 12:03:36 +03:00
Alex Tkachman
abee22ccca
KT2482 fix - empty if codegen
2012-08-03 07:53:12 +03:00
Alex Tkachman
2df30416cd
KT-2485 fix - coercion boolean to Any? etc.
2012-08-03 07:00:25 +03:00
Alex Tkachman
d6e614a2d4
KT-2566 fix - accessors naming
2012-08-02 19:07:55 +03:00
Andrey Breslav
bf503e9a4b
KT-2363 Drop secondary constructors
...
#KT-2363 Fixed
2012-07-19 19:53:06 +04: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
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
Evgeny Gerashchenko
c74ccec0bf
Renamed CompilerSpecialMode to ConfigurationKind, gave enum constants more clear names.
2012-07-07 23:07:20 +04:00
Evgeny Gerashchenko
2c58989a47
Moved CompilerSpecialMode enum to compiler-tests, since it is now used only for creating test compiler configurations.
2012-07-07 23:07:19 +04:00
Evgeny Gerashchenko
5ecfd71611
Private outer functions are now accessed via bridge methods. Added tests.
2012-06-19 22:36:03 +04:00
Dmitry Jemerov
9eb2dd4bfe
test for fixed KT-1721
2012-06-08 18:51:03 +02:00
Dmitry Jemerov
803a5e5b65
test for fixed KT-1891
2012-06-08 18:45:42 +02:00
Dmitry Jemerov
2e14454391
test for fixed KT-1439
2012-06-08 18:45:42 +02:00
Dmitry Jemerov
5c21564b05
test for already fixed KT-1611
2012-06-08 18:45:39 +02:00