Commit Graph

209 Commits

Author SHA1 Message Date
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
Svetlana Isakova 9dc9e9984b KT-1572 Frontend doesn't mark all vars included in closure as refs. 2012-03-14 15:07:33 +04:00
Alex Tkachman 5bb7c2122d KT-1538 proper boolean invertion 2012-03-13 15:50:29 +02:00
Alex Tkachman c870eccc4f fix for KT-1515 wrong loading of annotations 2012-03-13 12:28:35 +02:00
Alex Tkachman 9aa992c209 fix for KT-1568 1.javaClass 2012-03-13 09:36:15 +02:00
James Strachan eb3aac9acb refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now) 2012-03-03 12:11:06 +00:00
Stepan Koltsov 4c078c3713 fix tests 2012-03-02 18:29:27 +04:00
Alex Tkachman 190e539365 KT-1482 fix: abstarct properties codegen 2012-03-01 07:24:18 +02:00
James Strachan 173c7fc678 fix of compiler test 2012-02-29 17:13:35 +00:00