Commit Graph

68 Commits

Author SHA1 Message Date
Dmitry Jemerov 15f55d852d first step of refactoring code to generate 'this' expressions and receivers in ExpressionCodegen; correctly generate references to outer class properties in inner superclass constructor call 2011-05-30 20:35:58 +04:00
Dmitry Jemerov e616c38a9f pass outer instance when calling base inner class constructor in inner class 2011-05-30 19:55:44 +04:00
Dmitry Jemerov 8adaf297ef correct generation of 'this' in DImpl classes 2011-05-30 18:14:57 +04:00
Dmitry Jemerov 4fdfcdc541 superclass stuff improvements 2011-05-30 16:26:12 +04:00
Dmitry Jemerov d0f284fd5f fix stupid bug introduced during refactoring 2011-05-30 15:46:57 +04:00
Dmitry Jemerov 6517a82ee1 generate initializer blocks 2011-05-29 19:21:24 +04:00
Dmitry Jemerov 9e4567ffc3 initial, barely working implementation of inner classes 2011-05-29 18:16:58 +04:00
Dmitry Jemerov 78247520c7 correctly handle ensureReceiverOnStack() when the expression is itself a receiver; use correct type when putting/storing fields 2011-05-27 19:03:11 +04:00
Dmitry Jemerov 9969b8d7a4 put values of correct type on stack for checking if character is in range 2011-05-27 18:29:48 +04:00
Dmitry Jemerov 6dfa8ca8c6 don't forget to put receiver on stack when calling extension functions 2011-05-27 18:11:42 +04:00
Dmitry Jemerov 58f50a8046 initial support for generating extension functions 2011-05-26 19:07:50 +04:00
Dmitry Jemerov d7a2cb07f3 try / finally 2011-05-19 18:40:42 +02:00
Dmitry Jemerov 5bbb99e247 pattern matching on ranges 2011-05-19 16:30:23 +02:00
Dmitry Jemerov cd96508c63 failing test for pattern matching on patterns 2011-05-19 16:12:58 +02:00
Dmitry Jemerov 92a3e9275c pattern matching for expressions 2011-05-19 16:09:31 +02:00
Maxim Shafirov 0dfc7afb29 More delegation tests 2011-05-15 01:29:01 +04:00
Dmitry Jemerov c4954ebcc3 'as?' works on types with generics 2011-05-13 19:07:51 +02:00
Dmitry Jemerov 6770f309ac 'is' works for type parameters 2011-05-13 18:42:05 +02:00
Dmitry Jemerov 26790f1346 'is' works with generic types correctly (initial implementation of reified generics) 2011-05-13 18:06:25 +02:00
Dmitry Jemerov 1966d6d12c implementation classes implement JetObject; initial implementation of getTypeInfo() method and typeof operator 2011-05-13 13:42:17 +02:00
Dmitry Jemerov 5c2e90345a group codegen test files into directories per test case 2011-05-13 12:30:28 +02:00
Maxim Shafirov ec4bda880d Delegating properties 2011-05-09 18:56:23 +04:00
Maxim Shafirov a8a72a7fc0 function delegation 2011-05-09 18:34:38 +04:00
Maxim Shafirov fe36a55a94 To green test: inheritance.jet 2011-05-03 15:20:31 +04:00
Andrey Breslav a265c364a3 A work-around for an overload resolution bug 2011-05-03 13:21:21 +04:00
Maxim Shafirov 1261d87229 Assorted fixes to inheritance/delegation codegen 2011-05-02 13:13:27 +04:00
Maxim Shafirov 5e2d8869cf Failing test, now really need to generate getters instead of calls to a getfield 2011-04-28 22:01:42 +04:00
Maxim Shafirov 1ebee592a4 Failing test 2011-04-28 21:43:45 +04:00
Maxim Shafirov f7566abb5d blackBox() infrastructure 2011-04-28 21:32:42 +04:00
Dmitry Jemerov a61e045e85 failing test for try/catch 2011-04-28 18:31:40 +02:00
Dmitry Jemerov 89d7adbf73 generate for/in over java.lang.Iterable 2011-04-28 18:24:16 +02:00
Dmitry Jemerov da6b4a9595 += for strings 2011-04-28 18:15:44 +02:00
Maxim Shafirov bca39bf21f Delegating to a super constructors, $delegate fields, $this field 2011-04-28 19:38:35 +04:00
Dmitry Jemerov 6574cd98ed test for stuff that Max has already implemented 2011-04-28 13:29:42 +02:00
Andrey Breslav 244fc31da8 JET-16 Check property initializers as parts of the primary constructor's body 2011-04-26 18:47:16 +04:00
Andrey Breslav 64a8da3296 JET-14 Support anonymous initializers 2011-04-26 18:13:16 +04:00
Andrey Breslav d9997f3c25 Generic Java classes supported 2011-04-22 18:25:09 +04:00
Dmitry Jemerov d6611e495b initial support for properties backed by instance fields; some dummy code to generate primary constructor 2011-04-21 17:36:37 +02:00
Dmitry Jemerov aba13415c7 failing test for property in class 2011-04-21 15:42:51 +02:00
Dmitry Jemerov d17f095eec namespace properties are mostly working 2011-04-21 14:24:28 +02:00
Dmitry Jemerov c91cd748ff stub for property test 2011-04-21 14:23:49 +02:00
Maxim Shafirov 7dec1ce492 Multiple classfiles generated by test supported, starting work on interfaces list for jet classes 2011-04-19 22:07:27 +04:00
Andrey Breslav 3678b343b6 Temporary fix for duplicate key in constructor resolution 2011-04-15 18:54:25 +04:00
Dmitry Jemerov 4987b8460c failing test for 'for ... in' on array 2011-04-15 13:48:06 +02:00
Dmitry Jemerov 47f883d493 primitive type tests extracted 2011-04-15 12:49:55 +02:00
Dmitry Jemerov e76a227837 non-working test for class codegen 2011-04-15 12:40:02 +02:00
Dmitry Jemerov c9072a1817 non-working test for 'for' 2011-04-15 12:16:44 +02:00
Dmitry Jemerov 20520e991f generate calls to functions in a Jet namespace 2011-04-14 20:10:40 +02:00
Dmitry Jemerov 4d92f75133 failing test (infers boolean return type for some reason) 2011-04-14 17:02:32 +02:00
Dmitry Jemerov f8acb78f01 inline some test code snippets 2011-04-08 20:07:45 +02:00