9082 Commits

Author SHA1 Message Date
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 d23a76b64d JET-6 Perform checks for primary and secondary constructors (In progress) 2011-04-26 17:00:07 +04:00
Andrey Breslav 5fdb34038e Allow namespaces with {} on the first line of a file (JET-2) 2011-04-25 22:08:03 +04:00
Andrey Breslav d4551a61bf Declarations are not parsed as expressions any more (JET-1) 2011-04-25 20:32:12 +04:00
Andrey Breslav 9059dae673 Namespace types are only allowed in appropriate contexts 2011-04-25 19:54:48 +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 913a01c107 A better test for generic functions 2011-04-22 18:37:20 +04:00
Andrey Breslav fcdbc3141c Generic Java methods supported 2011-04-22 18:35:24 +04:00
Andrey Breslav d9997f3c25 Generic Java classes supported 2011-04-22 18:25:09 +04:00
Andrey Breslav 55518cd654 Initializers prohibited on val-properties with no backing field 2011-04-22 14:23:58 +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
Andrey Breslav 225b81f626 $field is accessible from constructors 2011-04-21 13:05:53 +04:00
Andrey Breslav ca579e25b7 $field is only allowed in property accessors 2011-04-20 16:25:35 +04: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
Andrey Breslav d9c08e38da $fieldName resolved 2011-04-18 22:54:46 +04:00
Andrey Breslav 78f3eac62a Property accessors checked. Many things TBD 2011-04-18 22:54:46 +04:00
Andrey Breslav fba0e8bc60 Namespace lookup error reporting fixed 2011-04-18 13:43:52 +04:00
Andrey Breslav 9b0a9b71a2 isStatement() fixed for returned expressions 2011-04-15 21:40:07 +04:00
Andrey Breslav 319a250349 Sophisticated conventions for 'for'-loop ranges 2011-04-15 21:23:01 +04:00
Andrey Breslav b94579a4ba Assignments to qualified expressions are supported in CF 2011-04-15 19:16:31 +04:00
Andrey Breslav fad3030e37 Fix for 'null is Nothing' false-positive 2011-04-15 19:09:22 +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 f61fda2be2 add GridBagConstraints 2011-04-15 13:05:39 +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
Andrey Breslav e9f9236303 '+=' etc for ArrayAccess 2011-04-14 21:31:31 +04:00
Andrey Breslav 6e2fd76f53 ArrayAccess supported in CF 2011-04-14 21:13:49 +04:00
Andrey Breslav e2fbc5f792 Test for fail() function 2011-04-14 20:40:04 +04:00
Andrey Breslav c2f8ea6893 CF for throw 2011-04-14 20:26:54 +04:00
Andrey Breslav 5963e952da Loops are followed by read(Unit) in order to prevent the CFA from thinking that the condition is returned 2011-04-14 19:53:32 +04:00
Andrey Breslav cf7991378a Unreachable code with Nothing-returning functions 2011-04-14 19:23:49 +04:00
Dmitry Jemerov 4d92f75133 failing test (infers boolean return type for some reason) 2011-04-14 17:02:32 +02:00
Andrey Breslav 652c11aa07 Some fixes for try...finally 2011-04-14 16:54:08 +04:00
Andrey Breslav 6e9e22df16 Try..finally supported by CF-builder 2011-04-14 15:45:39 +04:00
Andrey Breslav bd73ef4bd9 More tests for dead code detection 2011-04-14 13:18:31 +04:00
Andrey Breslav 96526603e4 Basic tests for dead code detection 2011-04-13 17:48:51 +04:00
Andrey Breslav 69ef281d47 Fixed the parser bug when a no-else if was followed by a semicolon and no newline 2011-04-11 17:23:43 +04:00
Dmitry Jemerov f8acb78f01 inline some test code snippets 2011-04-08 20:07:45 +02:00
Dmitry Jemerov 5a0a03c1e4 Revert "refactored conditional jump generation to enable and/or generation"
This reverts commit b74bdb9cfd.
2011-04-08 20:02:26 +02:00
Dmitry Jemerov b74bdb9cfd refactored conditional jump generation to enable and/or generation 2011-04-08 19:52:55 +02:00