Commit Graph

8267 Commits

Author SHA1 Message Date
Andrey Breslav 91606a3901 Introduce 'reified' instead of 'erased' 2012-06-05 20:19:07 +04:00
Dmitry Jemerov 23cdde5794 test for already fixed KT-1976 2012-06-05 11:51:36 +02:00
Dmitry Jemerov 6e3c02b695 test for already fixed KT-1726 2012-06-02 23:27:34 +02:00
Dmitry Jemerov 2020446412 test for KT-1247 (duplicate of KT-1918) 2012-06-02 23:24:14 +02:00
Dmitry Jemerov 58666f3eb7 unwrap parentheses around range expressions in pattern matching conditions (KT-1742) (thanks to Sergey Mashkov for the suggested fix) 2012-06-02 23:17:42 +02:00
Dmitry Jemerov d55af2a948 test for KT-1578 (duplicate of KT-1980) 2012-06-02 23:08:05 +02:00
Dmitry Jemerov e1cecd10b2 allow putting an Invert operation on stack as a void type (KT-1634) 2012-06-02 23:05:09 +02:00
Dmitry Jemerov 58c7c7aea1 don't generate direct increment and similar bytecodes for variables which are captured in closure (KT-1980) 2012-06-02 22:41:37 +02:00
Dmitry Jemerov ba9c3d73e7 when calling extension function, correctly put receiver on top of stack if it was generated before the extension function object (KT-1918) 2012-06-02 19:50:14 +02:00
Dmitry Jemerov 12498e30eb support putting the result of a dummy comparison to stack (KT-1899) 2012-06-02 18:19:27 +02:00
Dmitry Jemerov f909745d1b use correct nullability information when generating equality checks in pattern matching (KT-2148) 2012-06-02 17:59:19 +02:00
Stepan Koltsov 139e376f7c fix KT-2167 (enum generation)
#KT-2167 fixed
2012-06-02 02:18:29 +04:00
Stepan Koltsov 2d4ad5e408 EnumGenTest
enum geneneration is partially covered in regression tests, it is not very convenient
2012-06-02 02:18:28 +04:00
Stepan Koltsov 0f8c449f55 ScriptGenTest: more 2012-05-31 19:31:40 +04:00
Dmitry Jemerov b03966e8d0 coerce condition value to Type.BOOLEAN (KT-2147) 2012-05-31 13:59:42 +02:00
Stepan Koltsov 1f5666e0e8 more tests in ScriptGenTest 2012-05-30 19:47:42 +04:00
Stepan Koltsov 30e44fdc5f script parameters
still a lot of things to do
2012-05-28 20:31:29 +04:00
Svetlana Isakova 0fd882741b function invocation with only type parameters prohibited 2012-05-23 22:04:22 +04:00
Svetlana Isakova f58d0193eb test for KT-1878 Support 'invoke' functions short way invocation 2012-05-23 12:50:19 +04:00
Stepan Koltsov f4051f45ab generate bytecode for script
It is just prototype

* does not make top level symbols visible as class members yet
* does not take parameters
* Script class name is hardcoded now
2012-05-23 02:52:29 +04:00
Stepan Koltsov 9908791094 KT-1829 NoClassDefFoundError when using java inner classes
#KT-1829 Fixed
2012-05-11 01:08:30 +04:00
Alex Tkachman 6d2deaa70c KT-1600: call to non-overriden generic method 2012-05-10 16:45:34 +03:00
Svetlana Isakova 22e9e7de10 more small tests 2012-05-04 20:47:26 +04:00
Svetlana Isakova 53397d7130 tests for KT-606 dependents & duplicates
#KT-1489 fixed
 #KT-1728 fixed
2012-05-04 14:54:12 +04:00
Stepan Koltsov 08abd992c9 complicate kt471 test back 2012-05-03 17:39:08 +04:00
Alex Tkachman 25c804431b test for KT-606 2012-05-03 16:12:44 +03:00
Alex Tkachman d58e988ca5 incorporating Sveta's patch on VariableAsFunctionResolvedCall 2012-05-03 12:56:51 +03:00
Stepan Koltsov 427afefce4 replace .sure with !! 2012-05-02 00:01:04 +04:00
Stepan Koltsov d5d05d76f3 explictly test codegen with jdk-headers 2012-05-01 23:49:25 +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 9c0eb285e2 back end test for 'variable as function' call case 2012-04-30 15:44:23 +04:00
Alex Tkachman 7b7987ba0d KT-1759 str.plus(str) 2012-04-28 08:09:02 +03: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
James Strachan 6ac4169003 fixes broken tests - bad james! 2012-04-17 10:48:58 +01: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
Svetlana Isakova e9788c12d9 member visibility inheritance; check visibility is not weaken added 2012-04-03 16:36:00 +04:00
Alex Tkachman ffbce7fe1e KT-1589: Array<T>(size) renamed to arrayOfNulls 2012-04-02 14:30:37 +03:00
Alex Tkachman a1582e1911 fix for tests broken by previous commit 2012-04-02 13:40:19 +03:00
Alex Tkachman a4ebbaa1a0 KT-1441 proper identityEquals 2012-04-02 13:32:31 +03:00
Svetlana Isakova 5419b0a3dc Tests fixed after visibility changing 2012-03-30 13:38:36 +04:00
Alex Tkachman d0e7248ec1 KT-628 !! support 2012-03-26 11:37:40 +02:00
Andrey Breslav dd9c36387c KT-987 Unboxing nulls
#KT-987 Fixed
2012-03-26 11:42:34 +04:00
Stepan Koltsov 8f889c0cfd fix one test 2012-03-21 19:35:14 +04:00
Stepan Koltsov e2cb98df67 better import jet namespace 2012-03-19 23:25:27 +04:00
Alex Tkachman 56eabfe07b KT-1508 jet.Number -> j.l.Number 2012-03-17 13:57:45 +02:00
Alex Tkachman 6ff783e79b KT-1592 don't write default values for annotations 2012-03-16 15:48:49 +02:00