Commit Graph

350 Commits

Author SHA1 Message Date
Andrey Breslav e46792a80e Fixed the typechecking for try..catch 2011-05-03 12:25:54 +04:00
Maxim Shafirov 1261d87229 Assorted fixes to inheritance/delegation codegen 2011-05-02 13:13:27 +04:00
Dmitry Jemerov b95498624f range literals initial 2011-04-28 20:09:46 +02: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 43742828c4 Multiple declarations contributing to the same namespace are supported 2011-04-25 18:54:18 +04:00
Andrey Breslav 968e22f999 Working on constructors: references on 'this()' calls, etc. Many checks pending 2011-04-22 21:45:44 +04:00
Andrey Breslav d9997f3c25 Generic Java classes supported 2011-04-22 18:25:09 +04:00
Dmitry Jemerov bbf4fbc34f generate property accessors in class interface 2011-04-21 19:47:39 +02:00
Dmitry Jemerov e0eb3ebd48 more advanced test 2011-04-21 19:11:08 +02:00
Dmitry Jemerov 2c7500c626 generate initializers for namespace properties in <clinit> method 2011-04-21 19:08:22 +02:00
Dmitry Jemerov 85f46abcd2 handle getters/setters without body; generate initializers for class-level properties 2011-04-21 18:42:30 +02:00
Dmitry Jemerov 843c102922 failing test for throw 2011-04-21 18:01:58 +02:00
Dmitry Jemerov 11f8ed8c28 generate public accessor methods for public properties 2011-04-21 17:36:38 +02: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
Andrey Breslav 433c073778 Exceptions thrown on syntax errors 2011-04-21 18:04:23 +04:00
Dmitry Jemerov 806bddb80c fixed tests 2011-04-21 15:47:35 +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
Andrey Breslav aedabc48e9 Utilities for collecting all supertypes (with proper substitution) 2011-04-21 15:02:21 +04:00
Dmitry Jemerov fe9975ac9f fix NamespaceGenTest 2011-04-21 11:52:20 +02:00
Andrey Breslav 9add2b6114 Tests for hasBackingField 2011-04-20 16:17:46 +04: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
Maxim Shafirov ec080358cb First green test for class codegen 2011-04-18 18:25:28 +04:00
Dmitry Jemerov 009c58f680 augmented assignments for arrays; replace the hack of "value before receiver" with a lesser hack of dupReceiver() 2011-04-15 19:46:33 +02:00
Dmitry Jemerov f13da41f43 augmented assignments via StackValue.store() 2011-04-15 19:40:35 +02:00
Dmitry Jemerov a8ac0c05d5 generate increment via StackValue.store() 2011-04-15 19:40:35 +02:00
Dmitry Jemerov b6f444b0f7 introduce StackValue.store(); use it to implement write access to fields and arrays 2011-04-15 19:40:35 +02:00
Andrey Breslav 9b0a9b71a2 isStatement() fixed for returned expressions 2011-04-15 21:40:07 +04:00
Dmitry Jemerov 2311426ba6 for loop on array works; fixes to ensure we don't leave junk on stack 2011-04-15 18:31:53 +02:00
Dmitry Jemerov e74ea049af elvis for primitive types; unboxing support 2011-04-15 15:14:55 +02:00
Dmitry Jemerov c27341b460 generate elvis 2011-04-15 15:02:09 +02:00
Dmitry Jemerov 4987b8460c failing test for 'for ... in' on array 2011-04-15 13:48:06 +02:00
Dmitry Jemerov 706b844eb3 working array read, non-working array write 2011-04-15 13:44:31 +02:00
Dmitry Jemerov 2f437d3714 working field read; non-working field write 2011-04-15 13:22:08 +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 b30f6db5e6 split codegen tests a little bit 2011-04-15 12:16:43 +02:00
Dmitry Jemerov 3a203302dc less/greater comparisons for IComparable objects 2011-04-15 12:16:43 +02:00
Dmitry Jemerov f7d00f2dec no varargs support in frontend yet 2011-04-15 12:16:43 +02:00
Dmitry Jemerov 5d34c9ba5b generate chained append calls for chained string concatenations 2011-04-14 20:51:03 +02:00
Dmitry Jemerov 0e492472b3 string concatenation 2011-04-14 20:42:51 +02:00
Dmitry Jemerov 8e551399a1 generate === and !== 2011-04-14 20:24:22 +02:00